Skip to content

Commit 852ae99

Browse files
committed
Update Response.java
1 parent 83704ca commit 852ae99

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/com/onelogin/saml/Response.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ public boolean isValid(String... requestId){
150150
// Check Audience
151151
Set<String> validAudiences = this.getAudiences();
152152

153-
if (!validAudiences.isEmpty() && !this.audienceUrl.equals(currentUrl)) {
154-
throw new Exception( this.audienceUrl + " is not a valid audience for this Response");
155-
}
153+
//if (!validAudiences.isEmpty() && !this.audienceUrl.equals(currentUrl)) {
154+
// throw new Exception( this.audienceUrl + " is not a valid audience for this Response");
155+
//}
156156

157157
// Check destination
158158
if(rootElement.hasAttribute("Destination")){

0 commit comments

Comments
 (0)