Class AuthenticationScheme

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

public class AuthenticationScheme extends MultiComplexNode
author Pascal Knueppel
created at: 18.10.2019 - 10:41

A multi-valued complex type that specifies supported authentication scheme properties. To enable seamless discovery of configurations, the service provider SHOULD, with the appropriate security considerations, make the authenticationSchemes attribute publicly accessible without prior authentication. REQUIRED.
See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      The common authentication scheme name, e.g., HTTP Basic. REQUIRED.
    • setName

      public void setName(String name)
      The common authentication scheme name, e.g., HTTP Basic. REQUIRED.
    • getDescription

      public String getDescription()
      A description of the authentication scheme. REQUIRED.
    • setDescription

      public void setDescription(String description)
      A description of the authentication scheme. REQUIRED.
    • getAuthenticationType

      public String getAuthenticationType()
      The authentication scheme. This specification defines the values "oauth", "oauth2", "oauthbearertoken", "httpbasic", and "httpdigest". REQUIRED.
    • setAuthenticationType

      public void setAuthenticationType(String type)
      The authentication scheme. This specification defines the values "oauth", "oauth2", "oauthbearertoken", "httpbasic", and "httpdigest". REQUIRED.
    • getSpecUri

      public Optional<String> getSpecUri()
      An HTTP-addressable URL pointing to the authentication scheme's specification. OPTIONAL.
    • setSpecUri

      public void setSpecUri(String specUri)
      An HTTP-addressable URL pointing to the authentication scheme's specification. OPTIONAL.
    • getDocumentationUri

      public Optional<String> getDocumentationUri()
      An HTTP-addressable URL pointing to the authentication scheme's usage documentation. OPTIONAL.
    • setDocumentationUri

      public void setDocumentationUri(String documentationUri)
      An HTTP-addressable URL pointing to the authentication scheme's usage documentation. OPTIONAL.
    • getWwwAuthenticateHeaderRepresentation

      public String getWwwAuthenticateHeaderRepresentation(String realm)
      returns this authentication type as string representation that matches the http WWW-Authenticate response header representation
    • builder