]
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: