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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.apache.shiro.authc.AuthenticationListener
    • onLogout

      public void onLogout(org.apache.shiro.subject.PrincipalCollection arg0)
      Specified by:
      onLogout in interface org.apache.shiro.authc.AuthenticationListener
    • onSuccess

      public void onSuccess(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)
      Specified by:
      onSuccess in interface org.apache.shiro.authc.AuthenticationListener