Interface CredentialsProvider

  • All Known Implementing Classes:
    BasicCredentialsProvider

    public interface CredentialsProvider
    This Interface defines a provider for the credentials.
    • Method Detail

      • getCredentials

        Credentials getCredentials​(javax.servlet.http.HttpServletRequest request)
                            throws LoginException,
                                   javax.servlet.ServletException
        Extracts the credentials from the given servlet request.
        Parameters:
        request -
        Returns:
        the credentials or null
        Throws:
        LoginException - if the credentials are invalid
        javax.servlet.ServletException - if an error occurs