Interface AuthenticationComponent

All Superinterfaces:
AuthenticationContext
All Known Implementing Classes:
AbstractAuthenticationComponent, AbstractChainingAuthenticationComponent, AuthenticationComponentImpl, IdentityServiceAuthenticationComponent, JAASAuthenticationComponent, LDAPAuthenticationComponentImpl, SimpleAcceptOrRejectAllAuthenticationComponentImpl, SubsystemChainingAuthenticationComponent

public interface AuthenticationComponent extends AuthenticationContext
  • Method Details

    • authenticate

      void authenticate(String userName, char[] password) throws AuthenticationException
      Authenticate
      Throws:
      AuthenticationException
    • setCurrentUser

      net.sf.acegisecurity.Authentication setCurrentUser(String userName)
      Explicitly set the current user to be authenticated.
    • setCurrentUser

      net.sf.acegisecurity.Authentication setCurrentUser(String userName, AuthenticationComponent.UserNameValidationMode validationMode)
      Explicitly set the current user to be authenticated. Specify if the userName is to be checked and fixed
    • setGuestUserAsCurrentUser

      net.sf.acegisecurity.Authentication setGuestUserAsCurrentUser()
      Set the guest user as the current user.
    • guestUserAuthenticationAllowed

      boolean guestUserAuthenticationAllowed()
      True if Guest user authentication is allowed, false otherwise
    • getDefaultAdministratorUserNames

      Set<String> getDefaultAdministratorUserNames()
      Gets a set of user names who for this particular authentication system should be considered administrators by default. If the security framework is case sensitive these values should be case sensitive user names. If the security framework is not case sensitive these values should be the lower-case user names.
      Returns:
      a set of user names
    • getDefaultGuestUserNames

      Set<String> getDefaultGuestUserNames()
      Gets a set of user names who for this particular authentication system should be considered guests by default. If the security framework is case sensitive these values should be case sensitive user names. If the security framework is not case sensitive these values should be the lower-case user names.
      Returns:
      a set of user names