[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/AddResponseShell....
noreply at shibboleth.net
noreply at shibboleth.net
Mon Mar 10 13:46:28 EDT 2014
Author: scantor
Date: Mon Mar 10 13:46:28 2014
New Revision: 3685
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3685&view=rev
Log:
Fix NPE, issuer is optional here.
Modified:
trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/AddResponseShell.java
Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/AddResponseShell.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/AddResponseShell.java?rev=3685&r1=3684&r2=3685&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/AddResponseShell.java (original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/profile/impl/AddResponseShell.java Mon Mar 10 13:46:28 2014
@@ -142,7 +142,9 @@
return false;
}
- issuerId = issuerLookupStrategy.apply(profileRequestContext);
+ if (issuerLookupStrategy != null) {
+ issuerId = issuerLookupStrategy.apply(profileRequestContext);
+ }
return super.doPreExecute(profileRequestContext);
}
More information about the commits
mailing list