Class DefaultLoginModule

  • All Implemented Interfaces:
    LoginModule

    public class DefaultLoginModule
    extends AbstractLoginModule
    The DefaultLoginModule authenticates Credentials related to a User of the Repository
    In any other case it is marked to be ignored.

    This Module can deal with the following credentials

    • SimpleCredentials -> handled by SimpleCredentialsAuthentication.
    • TokenCredentials -> handled by TokenBasedAuthentication.
    In both cases the login is successful if the system contains a non-disabled, valid user that matches the given credentials.

    Correspondingly impersonation is delegated to the User's Impersonation object.

    See Also:
    AbstractLoginModule
    • Field Detail

      • user

        protected User user
        The user object retrieved during the authentication process.
    • Constructor Detail

      • DefaultLoginModule

        public DefaultLoginModule()