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 TypeMethodDescriptionvoidonFailure(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationException arg1) voidonLogout(org.apache.shiro.subject.PrincipalCollection arg0) voidonSuccess(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:
onFailurein interfaceorg.apache.shiro.authc.AuthenticationListener
-
onLogout
public void onLogout(org.apache.shiro.subject.PrincipalCollection arg0) - Specified by:
onLogoutin interfaceorg.apache.shiro.authc.AuthenticationListener
-
onSuccess
public void onSuccess(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info) - Specified by:
onSuccessin interfaceorg.apache.shiro.authc.AuthenticationListener
-