[JIRA] Closed: (SIDP-549) Incorrect handling of returned authn error in SSO profile handlers
Scott Cantor (JIRA)
noreply at shibboleth.net
Thu Jun 21 15:08:55 BST 2012
[ https://issues.shibboleth.net/jira/browse/SIDP-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor closed SIDP-549.
-----------------------------
> Incorrect handling of returned authn error in SSO profile handlers
> ------------------------------------------------------------------
>
> Key: SIDP-549
> URL: https://issues.shibboleth.net/jira/browse/SIDP-549
> Project: Shibboleth IdP 2 - Java
> Issue Type: Bug
> Components: SAML 2
> Affects Versions: 2.3.6
> Reporter: marian.cvecka at idp.protectnetwork.org
> Assignee: Scott Cantor
> Fix For: 2.3.7
>
>
> It appears that this issue https://issues.shibboleth.net/jira/browse/SIDP-427 has been reintroduced in the version 2.3.6. This time there is the following code in the processRequest method:
> {code}
> if(!(loginContext instanceof Saml2LoginContext)){
> log.debug("Incoming request contained a login context but it was not a Saml2LoginContext, processing as first leg of request");
> performAuthentication(inTransport, outTransport);
> return;
> }
>
> if(!loginContext.isPrincipalAuthenticated()){
> log.debug("Incoming request contains a login context but principal was not authenticated, processing first leg of request");
> performAuthentication(inTransport, outTransport);
> return;
> }
>
> if(loginContext.isPrincipalAuthenticated()){
> log.debug("Incoming request contains a login context and indicates principal was authenticated, processing second leg of request");
> completeAuthenticationRequest((Saml2LoginContext)loginContext, inTransport, outTransport);
> return;
> }
>
> if(loginContext.getAuthenticationFailure() != null){
> log.debug("Incoming request contains a login context and indicates there was an error authenticating the principal, processing second leg of request");
> completeAuthenticationRequest((Saml2LoginContext)loginContext, inTransport, outTransport);
> return;
> }
> {code}
> The code execution has no chance to reach the last if statement.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list