Package de.businesscode.bcdui.web
Class AuthenticationListener
java.lang.Object
de.businesscode.bcdui.web.AuthenticationListener
- All Implemented Interfaces:
org.apache.shiro.authc.AuthenticationListener
public class AuthenticationListener
extends Object
implements org.apache.shiro.authc.AuthenticationListener
Support for bcd_log_login logging as well as further security enhancement, such as session-fixation {@link https://owasp.org/www-community/attacks/Session_fixation}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onFailure
(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationException arg1) void
onLogout
(org.apache.shiro.subject.PrincipalCollection arg0) void
onSuccess
(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)
-
Constructor Details
-
AuthenticationListener
public AuthenticationListener()
-
-
Method Details
-
onFailure
public void onFailure(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationException arg1) - Specified by:
onFailure
in interfaceorg.apache.shiro.authc.AuthenticationListener
-
onLogout
public void onLogout(org.apache.shiro.subject.PrincipalCollection arg0) - Specified by:
onLogout
in interfaceorg.apache.shiro.authc.AuthenticationListener
-
onSuccess
public void onSuccess(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info) - Specified by:
onSuccess
in interfaceorg.apache.shiro.authc.AuthenticationListener
-