public interface AuthenticationManagerAuthentication manager is main entry point for all places which are interested in securing requests and verifying their originator.
- Łukasz Dywicki - Initial contribution
Authentication authenticate(Credentials credentials) throws AuthenticationExceptionAuthentication attempt with specified credentials.
credentials- Credentials to authenticate with.
- Null value should never be returned. Any failed authentication (for whatever reason), should cause AuthenticationException.
AuthenticationException- when none of available authentication methods succeeded.