Interface AuthenticationProvider

All Known Implementing Classes:
OpenIdAuthenticationProvider

public interface AuthenticationProvider
An authentication mechanism that knows how to authenticate over network connections.

Please note that the ReactiveAuthorization class explicitly prohibits the use of Basic and Digest authorization schemes.

  • Method Summary

    Modifier and Type
    Method
    Description
    Return an authenticator for the supplied challenge.
    Return the set of supported authorization schemes, such as Bearer or DPoP.
  • Method Details

    • getSchemes

      Set<String> getSchemes()
      Return the set of supported authorization schemes, such as Bearer or DPoP.
      Returns:
      the authorization schemes
    • getAuthenticator

      Authenticator getAuthenticator(Challenge challenge)
      Return an authenticator for the supplied challenge.
      Parameters:
      challenge - the HTTP challenge value
      Returns:
      an authenticator