Package com.axelor.auth.pac4j.local
Class AxelorAuthenticator
java.lang.Object
com.axelor.auth.pac4j.local.AxelorAuthenticator
- All Implemented Interfaces:
org.pac4j.core.credentials.authenticator.Authenticator
public class AxelorAuthenticator
extends Object
implements org.pac4j.core.credentials.authenticator.Authenticator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.pac4j.core.credentials.authenticator.Authenticator
ALWAYS_VALIDATE, NEVER_VALIDATE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INCORRECT_CREDENTIALS
- See Also:
-
NO_CREDENTIALS
- See Also:
-
UNSUPPORTED_CREDENTIALS
- See Also:
-
INCOMPLETE_CREDENTIALS
- See Also:
-
UNKNOWN_USER
- See Also:
-
USER_DISABLED
- See Also:
-
WRONG_CURRENT_PASSWORD
- See Also:
-
NEW_PASSWORD_MUST_BE_DIFFERENT
- See Also:
-
NEW_PASSWORD_DOES_NOT_MATCH_PATTERN
- See Also:
-
-
Constructor Details
-
AxelorAuthenticator
public AxelorAuthenticator()
-
-
Method Details
-
validate
public Optional<org.pac4j.core.credentials.Credentials> validate(org.pac4j.core.context.CallContext ctx, org.pac4j.core.credentials.Credentials inputCredentials) - Specified by:
validatein interfaceorg.pac4j.core.credentials.authenticator.Authenticator
-