Interface HttpAuthenticationFeature.UniversalBuilder

All Superinterfaces:
HttpAuthenticationFeature.Builder
Enclosing class:
HttpAuthenticationFeature

public static interface HttpAuthenticationFeature.UniversalBuilder extends HttpAuthenticationFeature.Builder
Extension of HttpAuthenticationFeature.Builder that builds the http authentication feature configured in universal mode that supports basic and digest authentication.
  • Method Details

    • credentialsForBasic

      HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(String username, String password)
      Set credentials that will be used for basic authentication only.
      Parameters:
      username - Username.
      password - Password as String.
      Returns:
      This builder.
    • credentialsForBasic

      HttpAuthenticationFeature.UniversalBuilder credentialsForBasic(String username, byte[] password)
      Set credentials that will be used for basic authentication only.
      Parameters:
      username - Username.
      password - Password as byte array.
      Returns:
      This builder.
    • credentialsForDigest

      HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(String username, String password)
      Set credentials that will be used for digest authentication only.
      Parameters:
      username - Username.
      password - Password as String.
      Returns:
      This builder.
    • credentialsForDigest

      HttpAuthenticationFeature.UniversalBuilder credentialsForDigest(String username, byte[] password)
      Set credentials that will be used for digest authentication only.
      Parameters:
      username - Username.
      password - Password as byte array.
      Returns:
      This builder.