The handler package contains the classes used to authenticate a user. It contains the AuthenticationHandler interface which is used to validate credentials. It also contains the PasswordEncoders which are used by implementations of the AuthenticationHandler to provide conversion from plain text to whatever the password is encoded as in the data store.

The package also contains a well-defined exception heirarchy to allow fine-grained error messages to be displayed.

Examples of AuthenticationHandlers implementations: