See: Description
| Interface | Description |
|---|---|
| PasswordEncoder |
Interface to provide a standard way to translate a plaintext password into a
different representation of that password so that the password may be
compared with the stored encrypted password without having to decode the
encrypted password.
|
| PrincipalNameTransformer |
Strategy pattern component for transforming principal names in the authentication pipeline.
|
| Class | Description |
|---|---|
| DefaultPasswordEncoder |
Implementation of PasswordEncoder using message digest.
|
| NoOpPrincipalNameTransformer |
Simple implementation that actually does NO transformation.
|
| PlainTextPasswordEncoder |
Default password encoder for the case where no password encoder is needed.
|
| PrefixSuffixPrincipalNameTransformer |
Transform the user id by adding a prefix or suffix.
|
| Exception | Description |
|---|---|
| AuthenticationException |
The most generic type of authentication exception that one can catch if not
sure what specific implementation will be thrown.
|
| BadCredentialsAuthenticationException |
Generic Bad Credential Exception.
|
| BadPasswordAuthenticationException |
The exception to throw when we know the username is correct but the password
is not.
|
| BadUsernameOrPasswordAuthenticationException |
Exception to throw when we know the credentials provided were
username/password and the combination is wrong.
|
| BlockedCredentialsAuthenticationException |
Exception to represent credentials that have been blocked for a reason such
as Locked account.
|
| UncategorizedAuthenticationException |
Generic abstract exception to extend when you don't know what the heck is
going on.
|
| UnknownUsernameAuthenticationException |
The exception to throw when we explicitly don't know anything about the
username.
|
| UnsupportedCredentialsException |
The exception thrown when a Handler does not know how to determine the
validity of the credentials based on the fact that it does not know what to
do with the credentials presented.
|
The package also contains a well-defined exception heirarchy to allow fine-grained error messages to be displayed.
Examples of AuthenticationHandlers implementations:
Copyright © 2004-2015 Apereo. All Rights Reserved.