[gatein-issues] [JBoss JIRA] (GTNWCI-37) Improve AuthenticationListener/AuthenticationEvent

Julien Viet (JIRA) jira-events at lists.jboss.org
Wed Sep 19 05:26:35 EDT 2012


     [ https://issues.jboss.org/browse/GTNWCI-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Viet resolved GTNWCI-37.
-------------------------------

    Resolution: Done


Done by 'Marek Posolda'
                
> Improve AuthenticationListener/AuthenticationEvent
> --------------------------------------------------
>
>                 Key: GTNWCI-37
>                 URL: https://issues.jboss.org/browse/GTNWCI-37
>             Project: GateIn Web Container Integration
>          Issue Type: Enhancement
>    Affects Versions: 2.3.0.Alpha01
>            Reporter: Marek Posolda
>            Priority: Minor
>             Fix For: 2.3.0.Alpha04
>
>
> WCI has some AuthenticationListeners, which can react to authentication. It could be nice if:
> 1) AuthenticationEvent has information about whole credentials (including username, password). Currently it has information only about username but not about password.
> 2) Event is executed even if authentication is unsuccessful. In this case, we can have some enum AuthenticationStatus { SUCCESS, FAILURE } which will track if authentication was successful or not. 
> So overally the AuthenticationEvent constructor can look like:
> {code}
> public AuthenticationEvent(
> AuthenticationEventType type,   AuthenticationStatus status, HttpServletRequest request,  HttpServletResponse response, 
> Credentials credentials,  ServletContainerContext containerContext)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list