[java-identity-provider COMMIT] /trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/SAML2SPSessio...

noreply at shibboleth.net noreply at shibboleth.net
Thu May 15 23:16:51 EDT 2014


Author: scantor
Date: Thu May 15 23:16:51 2014
New Revision: 5937

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5937&view=rev
Log:
Fix reversed null check.

Modified:
    trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/SAML2SPSessionCreationStrategy.java

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/SAML2SPSessionCreationStrategy.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/SAML2SPSessionCreationStrategy.java?rev=5937&r1=5936&r2=5937&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/SAML2SPSessionCreationStrategy.java (original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/SAML2SPSessionCreationStrategy.java Thu May 15 23:16:51 2014
@@ -159,7 +159,7 @@
             @Nonnull final ProfileRequestContext profileRequestContext) {
         
         final Response response = responseLookupStrategy.apply(profileRequestContext);
-        if (response != null) {
+        if (response == null) {
             log.debug("No Response message or Assertions found");
             return null;
         }



More information about the commits mailing list