[gatein-issues] [JBoss JIRA] (GTNWCI-37) Improve AuthenticationListener/AuthenticationEvent
Marek Posolda (JIRA)
jira-events at lists.jboss.org
Tue Sep 18 07:11:34 EDT 2012
Marek Posolda created GTNWCI-37:
-----------------------------------
Summary: 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.Alpha01
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