Interface GenericAuthenticationService

  • All Known Implementing Classes:
    AuthenticationServiceImpl

    public interface GenericAuthenticationService
    Since:
    6.3
    Author:
    Julien Reboul
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String checkUserCredentials​(java.util.Map<java.lang.String,​java.io.Serializable> credentials)
      Check user credentials by give user name and passwordHash
    • Method Detail

      • checkUserCredentials

        java.lang.String checkUserCredentials​(java.util.Map<java.lang.String,​java.io.Serializable> credentials)
                                       throws AuthenticationException
        Check user credentials by give user name and passwordHash
        Parameters:
        credentials - the credentials elements to use to authenticate
        Returns:
        the username of the user authenticated.
        Throws:
        AuthenticationException - Error thrown if either the password is invalid or the user is not found.