Class Forms.AuthenticationMethods

java.lang.Object
org.apache.shiro.ee.filters.Forms.AuthenticationMethods
Enclosing class:
Forms

@Named("authc") @ApplicationScoped public static class Forms.AuthenticationMethods extends Object
JSF access points
  • Constructor Details

    • AuthenticationMethods

      public AuthenticationMethods()
  • Method Details

    • login

      public void login()
      let Shiro filter handle the login, this method should only get called if login fails login wait time is handled by Shiro configuration
    • login

      public void login(String username, String password)
      manual login, zero wait time
      Parameters:
      username -
      password -
    • login

      public void login(String username, String password, boolean rememberMe)
      manual login with timeout
      Parameters:
      username -
      password -
      rememberMe -
    • logout

      public void logout()
    • isLoggedIn

      public boolean isLoggedIn()
    • redirectIfLoggedIn

      public boolean redirectIfLoggedIn()
    • redirectIfLoggedIn

      public boolean redirectIfLoggedIn(String view)
    • isSessionExpired

      public boolean isSessionExpired()
    • isLoginFailure

      public boolean isLoginFailure()