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

noreply at shibboleth.net noreply at shibboleth.net
Wed Nov 4 14:47:20 EST 2015


Author: scantor
Date: Wed Nov  4 14:47:20 2015
New Revision: 7934

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7934&view=rev
Log:
Remove unnecessary null check.

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

Modified: trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/PrepareInboundMessageContext.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/PrepareInboundMessageContext.java?rev=7934&r1=7933&r2=7934&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/PrepareInboundMessageContext.java	(original)
+++ trunk/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/session/impl/PrepareInboundMessageContext.java	Wed Nov  4 14:47:20 2015
@@ -100,11 +100,6 @@
         }
         
         saml2Session = (SAML2SPSession) logoutPropCtx.getSession();
-        if (saml2Session.getId() == null) {
-            log.debug("{} SAML2SPSession in logout propagation context did not contain a service ID", getLogPrefix());
-            ActionSupport.buildEvent(profileRequestContext, EventIds.INVALID_PROFILE_CTX);
-            return false;
-        }
 
         return true;
     }



More information about the commits mailing list