[seam-issues] [JBoss JIRA] Commented: (SEAMSECURITY-56) OpenID RP login doesn't reset authentication state on failure
Patrick McFarland (JIRA)
jira-events at lists.jboss.org
Sat Apr 23 15:26:18 EDT 2011
[ https://issues.jboss.org/browse/SEAMSECURITY-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597695#comment-12597695 ]
Patrick McFarland commented on SEAMSECURITY-56:
-----------------------------------------------
There actually seems to be a fix for this. deferredAuthentication.fire(new DeferredAuthenticationEvent()); should be executed on both loginSucceeded and loginFailed inside OpenIdRelyingPartySpiImpl.
> OpenID RP login doesn't reset authentication state on failure
> -------------------------------------------------------------
>
> Key: SEAMSECURITY-56
> URL: https://issues.jboss.org/browse/SEAMSECURITY-56
> Project: Seam Security
> Issue Type: Bug
> Reporter: Patrick McFarland
>
> Currently, the OpenID RP example doesn't reset the authentication state on failure to authenticate.
> Go to the login form, select MyOpenID, hit login, hit cancel while on the MyOpenID site, you will be redirected to the AuthenticationFailed.xhtml; from there, go back to the login form and try logging in.
> This will produce an exception that is logged only (you are redirected back to the login form, which now works): ERROR [org.jboss.seam.security.IdentityImpl] Login failed: java.lang.IllegalStateException: Authentication already in progress.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list