Interface AuthenticationManager


  • public interface AuthenticationManager
    Authentication manager is main entry point for all places which are interested in securing requests and verifying their originator.
    Author:
    Ɓukasz Dywicki - Initial contribution
    • Method Detail

      • authenticate

        Authentication authenticate​(Credentials credentials)
                             throws AuthenticationException
        Authentication attempt with specified credentials.
        Parameters:
        credentials - Credentials to authenticate with.
        Returns:
        Null value should never be returned. Any failed authentication (for whatever reason), should cause AuthenticationException.
        Throws:
        AuthenticationException - when none of available authentication methods succeeded.