Class OAuthRPExtensionsImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
net.shibboleth.oidc.saml.xmlobject.impl.OAuthRPExtensionsImpl
All Implemented Interfaces:
OAuthRPExtensions, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, XMLObject, SAMLObject

public class OAuthRPExtensionsImpl extends AbstractXMLObject implements OAuthRPExtensions
Implementation for OAuthRPExtensions.
  • Field Details

    • tokenEndpointAuthMethod

      @Nullable private String tokenEndpointAuthMethod
      Token endpoint authentication method for this entity.
    • responseTypes

      @Nullable private String responseTypes
      Response types for this entity.
    • grantTypes

      @Nullable private String grantTypes
      Grant types for this entity.
    • applicationType

      @Nullable private String applicationType
      Application type for this entity.
    • clientUri

      @Nullable private String clientUri
      Client URI for this entity.
    • scopes

      @Nullable private String scopes
      Scopes for this entity.
    • softwareId

      @Nullable private String softwareId
      Software identifier for this entity.
    • softwareVersion

      @Nullable private String softwareVersion
      Software version for this entity.
    • sectorIdentifierUri

      @Nullable private String sectorIdentifierUri
      Sector identifier URI for this entity.
    • idTokenSignedResponseAlg

      @Nullable private String idTokenSignedResponseAlg
      ID token signed response algorithm for this entity.
    • idTokenEncryptedResponseAlg

      @Nullable private String idTokenEncryptedResponseAlg
      ID token encrypted response algorithm for this entity.
    • idTokenEncryptedResponseEnc

      @Nullable private String idTokenEncryptedResponseEnc
      ID token encrypted response encoder for this entity.
    • userInfoSignedResponseAlg

      @Nullable private String userInfoSignedResponseAlg
      User info signed response algorithm for this entity.
    • userInfoEncryptedResponseAlg

      @Nullable private String userInfoEncryptedResponseAlg
      User info encrypted response algorithm for this entity.
    • userInfoEncryptedResponseEnc

      @Nullable private String userInfoEncryptedResponseEnc
      User info encrypted response encoder for this entity.
    • requestObjectSigningAlg

      @Nullable private String requestObjectSigningAlg
      Request object signing algorithm for this entity.
    • requestObjectEncryptionAlg

      @Nullable private String requestObjectEncryptionAlg
      Request object encryption algorithm for this entity.
    • requestObjectEncryptionEnc

      @Nullable private String requestObjectEncryptionEnc
      Request object encryption encoder for this entity.
    • tokenEndpointAuthSigningAlg

      @Nullable private String tokenEndpointAuthSigningAlg
      Token endpoint authentication signing algorithm for this entity.
    • initiateLoginUri

      @Nullable private String initiateLoginUri
      Initiate login URI for this entity.
    • defaultMaxAge

      private int defaultMaxAge
      Default max age for this entity.
    • requireAuthTime

      private boolean requireAuthTime
      Require auth time flag for this entity.
    • backChannelLogoutSessionRequired

      private boolean backChannelLogoutSessionRequired
      Require back-channel logout session id flag for this entity.
    • frontChannelLogoutSessionRequired

      private boolean frontChannelLogoutSessionRequired
      Require front-channel logout session id flag for this entity.
    • defaultAcrValues

      @Nonnull private final XMLObjectChildrenList<DefaultAcrValue> defaultAcrValues
      Default ACR values for this entity.
    • requestUris

      @Nonnull private final XMLObjectChildrenList<RequestUri> requestUris
      Request URIs for this entity.
    • postLogoutRedirectUris

      @Nonnull private final XMLObjectChildrenList<PostLogoutRedirectUri> postLogoutRedirectUris
      Post logout redirect URIs for this entity.
    • unknownAttributes

      @Nonnull private final AttributeMap unknownAttributes
      "anyAttribute" attributes.
    • unknownChildren

      @Nonnull private final IndexedXMLObjectChildrenList<XMLObject> unknownChildren
      "any" children.
  • Constructor Details

    • OAuthRPExtensionsImpl

      protected OAuthRPExtensionsImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getResponseTypes

      @Nullable public String getResponseTypes()
      Get the whitespace-delimited list of response types.
      Specified by:
      getResponseTypes in interface OAuthRPExtensions
      Returns:
      list of response types
    • setResponseTypes

      public void setResponseTypes(@Nullable String types)
      Set the whitespace-delimited list of response types.
      Specified by:
      setResponseTypes in interface OAuthRPExtensions
      Parameters:
      types - response types
    • getGrantTypes

      @Nullable public String getGrantTypes()
      Get the whitespace-delimited list of grant types.
      Specified by:
      getGrantTypes in interface OAuthRPExtensions
      Returns:
      list of grant types
    • setGrantTypes

      public void setGrantTypes(@Nullable String types)
      Set the whitespace-delimited list of grant types.
      Specified by:
      setGrantTypes in interface OAuthRPExtensions
      Parameters:
      types - grant types
    • getApplicationType

      @Nullable public String getApplicationType()
      Get the application type.
      Specified by:
      getApplicationType in interface OAuthRPExtensions
      Returns:
      The application type.
    • setApplicationType

      public void setApplicationType(@Nullable String type)
      Set the application type.
      Specified by:
      setApplicationType in interface OAuthRPExtensions
      Parameters:
      type - The application type.
    • getTokenEndpointAuthMethod

      @Nullable public String getTokenEndpointAuthMethod()
      Get the token endpoint authentication method.
      Specified by:
      getTokenEndpointAuthMethod in interface OAuthRPExtensions
      Returns:
      token endpoint authentication method
    • setTokenEndpointAuthMethod

      public void setTokenEndpointAuthMethod(@Nullable String method)
      Set the token endpoint authentication method.
      Specified by:
      setTokenEndpointAuthMethod in interface OAuthRPExtensions
      Parameters:
      method - The token endpoint authentication method.
    • getClientUri

      @Nullable public String getClientUri()
      Get the client URI.
      Specified by:
      getClientUri in interface OAuthRPExtensions
      Returns:
      The client URI
    • setClientUri

      public void setClientUri(@Nullable String uri)
      Set the client URI.
      Specified by:
      setClientUri in interface OAuthRPExtensions
      Parameters:
      uri - The client URI.
    • getScopes

      @Nullable public String getScopes()
      Get the whitespace-delimited list of scopes.
      Specified by:
      getScopes in interface OAuthRPExtensions
      Returns:
      list of scopes
    • setScopes

      public void setScopes(@Nullable String values)
      Set the whitespace-delimited list of scopes.
      Specified by:
      setScopes in interface OAuthRPExtensions
      Parameters:
      values - the scopes
    • getSoftwareId

      @Nullable public String getSoftwareId()
      Get the software identifier.
      Specified by:
      getSoftwareId in interface OAuthRPExtensions
      Returns:
      software identifier
    • setSoftwareId

      public void setSoftwareId(@Nullable String id)
      Set the software identifier.
      Specified by:
      setSoftwareId in interface OAuthRPExtensions
      Parameters:
      id - The software identifier.
    • getSoftwareVersion

      @Nullable public String getSoftwareVersion()
      Get the software version.
      Specified by:
      getSoftwareVersion in interface OAuthRPExtensions
      Returns:
      The software version.
    • setSoftwareVersion

      public void setSoftwareVersion(@Nullable String version)
      Set the software version.
      Specified by:
      setSoftwareVersion in interface OAuthRPExtensions
      Parameters:
      version - The software version.
    • getSectorIdentifierUri

      @Nullable public String getSectorIdentifierUri()
      Get the sector identifier URI.
      Specified by:
      getSectorIdentifierUri in interface OAuthRPExtensions
      Returns:
      he sector identifier URI.
    • setSectorIdentifierUri

      public void setSectorIdentifierUri(@Nullable String uri)
      Set the sector identifier URI.
      Specified by:
      setSectorIdentifierUri in interface OAuthRPExtensions
      Parameters:
      uri - The sector identifier URI.
    • getIdTokenSignedResponseAlg

      @Nullable public String getIdTokenSignedResponseAlg()
      Get the JWS alg algorithm for ID token signature.
      Specified by:
      getIdTokenSignedResponseAlg in interface OAuthRPExtensions
      Returns:
      The JWS alg algorithm for ID token signature.
    • setIdTokenSignedResponseAlg

      public void setIdTokenSignedResponseAlg(@Nullable String algorithm)
      Set the JWS alg algorithm for ID token signature.
      Specified by:
      setIdTokenSignedResponseAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWS alg algorithm for ID token signature.
    • getIdTokenEncryptedResponseAlg

      @Nullable public String getIdTokenEncryptedResponseAlg()
      Get the JWE alg algorithm for ID token encryption.
      Specified by:
      getIdTokenEncryptedResponseAlg in interface OAuthRPExtensions
      Returns:
      The JWE alg algorithm for ID token encryption.
    • setIdTokenEncryptedResponseAlg

      public void setIdTokenEncryptedResponseAlg(@Nullable String algorithm)
      Set the JWE alg algorithm for ID token encryption.
      Specified by:
      setIdTokenEncryptedResponseAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWE alg algorithm for ID token encryption.
    • getIdTokenEncryptedResponseEnc

      @Nullable public String getIdTokenEncryptedResponseEnc()
      Get the JWE enc algorithm for ID token encryption.
      Specified by:
      getIdTokenEncryptedResponseEnc in interface OAuthRPExtensions
      Returns:
      The JWE enc algorithm for ID token encryption.
    • setIdTokenEncryptedResponseEnc

      public void setIdTokenEncryptedResponseEnc(@Nullable String algorithm)
      Set the JWE enc algorithm for ID token encryption.
      Specified by:
      setIdTokenEncryptedResponseEnc in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWE enc algorithm for ID token encryption.
    • getUserInfoSignedResponseAlg

      @Nullable public String getUserInfoSignedResponseAlg()
      Get the JWS alg algorithm for UserInfo response signature.
      Specified by:
      getUserInfoSignedResponseAlg in interface OAuthRPExtensions
      Returns:
      The JWS alg algorithm for UserInfo response signature.
    • setUserInfoSignedResponseAlg

      public void setUserInfoSignedResponseAlg(@Nullable String algorithm)
      Set the JWS alg algorithm for UserInfo response signature.
      Specified by:
      setUserInfoSignedResponseAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWS alg algorithm for UserInfo response signature.
    • getUserInfoEncryptedResponseAlg

      @Nullable public String getUserInfoEncryptedResponseAlg()
      Get the JWE alg algorithm for UserInfo response encryption.
      Specified by:
      getUserInfoEncryptedResponseAlg in interface OAuthRPExtensions
      Returns:
      The JWE alg algorithm for UserInfo response encryption.
    • setUserInfoEncryptedResponseAlg

      public void setUserInfoEncryptedResponseAlg(@Nullable String algorithm)
      Set the JWE alg algorithm for UserInfo response encryption.
      Specified by:
      setUserInfoEncryptedResponseAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWE alg algorithm for UserInfo response encryption.
    • getUserInfoEncryptedResponseEnc

      @Nullable public String getUserInfoEncryptedResponseEnc()
      Get the JWE enc algorithm for UserInfo response encryption.
      Specified by:
      getUserInfoEncryptedResponseEnc in interface OAuthRPExtensions
      Returns:
      The JWE enc algorithm for UserInfo response encryption.
    • setUserInfoEncryptedResponseEnc

      public void setUserInfoEncryptedResponseEnc(@Nullable String algorithm)
      Set the JWE enc algorithm for UserInfo response encryption.
      Specified by:
      setUserInfoEncryptedResponseEnc in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWE enc algorithm for UserInfo response encryption.
    • getRequestObjectSigningAlg

      @Nullable public String getRequestObjectSigningAlg()
      Get the JWS alg algorithm for request object signature.
      Specified by:
      getRequestObjectSigningAlg in interface OAuthRPExtensions
      Returns:
      The JWS alg algorithm for request object signature.
    • setRequestObjectSigningAlg

      public void setRequestObjectSigningAlg(@Nullable String algorithm)
      Set the JWS alg algorithm for request object signature.
      Specified by:
      setRequestObjectSigningAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWS alg algorithm for request object signature.
    • getRequestObjectEncryptionAlg

      @Nullable public String getRequestObjectEncryptionAlg()
      Get the JWE alg algorithm for request object encryption.
      Specified by:
      getRequestObjectEncryptionAlg in interface OAuthRPExtensions
      Returns:
      The JWE alg algorithm for request object encryption.
    • setRequestObjectEncryptionAlg

      public void setRequestObjectEncryptionAlg(@Nullable String algorithm)
      Set the JWE alg algorithm for request object encryption.
      Specified by:
      setRequestObjectEncryptionAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWE alg algorithm for request object encryption.
    • getRequestObjectEncryptionEnc

      @Nullable public String getRequestObjectEncryptionEnc()
      Get the JWE enc algorithm for request object encryption.
      Specified by:
      getRequestObjectEncryptionEnc in interface OAuthRPExtensions
      Returns:
      The JWE enc algorithm for request object encryption.
    • setRequestObjectEncryptionEnc

      public void setRequestObjectEncryptionEnc(@Nullable String algorithm)
      Set the JWE enc algorithm for request object encryption.
      Specified by:
      setRequestObjectEncryptionEnc in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWE enc algorithm for request object encryption.
    • getTokenEndpointAuthSigningAlg

      @Nullable public String getTokenEndpointAuthSigningAlg()
      Get the JWS alg algorithm for token endpoint authentication signature.
      Specified by:
      getTokenEndpointAuthSigningAlg in interface OAuthRPExtensions
      Returns:
      The JWS alg algorithm for token endpoint authentication signature.
    • setTokenEndpointAuthSigningAlg

      public void setTokenEndpointAuthSigningAlg(@Nullable String algorithm)
      Set the JWS alg algorithm for token endpoint authentication signature.
      Specified by:
      setTokenEndpointAuthSigningAlg in interface OAuthRPExtensions
      Parameters:
      algorithm - The JWS alg algorithm for token endpoint authentication signature.
    • getInitiateLoginUri

      @Nullable public String getInitiateLoginUri()
      Get the URI for initiating login.
      Specified by:
      getInitiateLoginUri in interface OAuthRPExtensions
      Returns:
      The URI for initiating login.
    • setInitiateLoginUri

      public void setInitiateLoginUri(@Nullable String uri)
      Set the URI for initiating login.
      Specified by:
      setInitiateLoginUri in interface OAuthRPExtensions
      Parameters:
      uri - The URI for initiating login.
    • getDefaultMaxAge

      public int getDefaultMaxAge()
      Get the value for default max age.
      Specified by:
      getDefaultMaxAge in interface OAuthRPExtensions
      Returns:
      The value for default max age.
    • setDefaultMaxAge

      public void setDefaultMaxAge(int age)
      Set the value for default max age.
      Specified by:
      setDefaultMaxAge in interface OAuthRPExtensions
      Parameters:
      age - The value for default max age.
    • isRequireAuthTime

      public boolean isRequireAuthTime()
      Get the flag to require authentication time.
      Specified by:
      isRequireAuthTime in interface OAuthRPExtensions
      Returns:
      The flag to require authentication time.
    • setRequireAuthTime

      public void setRequireAuthTime(boolean flag)
      Set the flag to require authentication time.
      Specified by:
      setRequireAuthTime in interface OAuthRPExtensions
      Parameters:
      flag - The flag to require authentication time.
    • getDefaultAcrValues

      @Nonnull @Live public List<DefaultAcrValue> getDefaultAcrValues()
      Get the list of default ACR values.
      Specified by:
      getDefaultAcrValues in interface OAuthRPExtensions
      Returns:
      The list of default ACR values.
    • getRequestUris

      @Nonnull @Live public List<RequestUri> getRequestUris()
      Get the list of request URIs.
      Specified by:
      getRequestUris in interface OAuthRPExtensions
      Returns:
      The list of request URIs.
    • getPostLogoutRedirectUris

      @Nonnull @Live public List<PostLogoutRedirectUri> getPostLogoutRedirectUris()
      Get the list of post logout redirection URIs.
      Specified by:
      getPostLogoutRedirectUris in interface OAuthRPExtensions
      Returns:
      The list of post logout redirection URIs.
    • getOrderedChildren

      @Nullable @Unmodifiable @NotLive public List<XMLObject> getOrderedChildren()
      Specified by:
      getOrderedChildren in interface XMLObject
    • getUnknownAttributes

      @Nonnull public AttributeMap getUnknownAttributes()
      Specified by:
      getUnknownAttributes in interface AttributeExtensibleXMLObject
    • getUnknownXMLObjects

      @Nonnull @Live public List<XMLObject> getUnknownXMLObjects()
      Specified by:
      getUnknownXMLObjects in interface ElementExtensibleXMLObject
    • getUnknownXMLObjects

      @Nonnull @Live public List<XMLObject> getUnknownXMLObjects(@Nonnull QName typeOrName)
      Specified by:
      getUnknownXMLObjects in interface ElementExtensibleXMLObject
    • setBackChannelLogoutSessionRequired

      public void setBackChannelLogoutSessionRequired(boolean flag)
      Set the flag to require session id in back-channel logout request.
      Specified by:
      setBackChannelLogoutSessionRequired in interface OAuthRPExtensions
      Parameters:
      flag - The flag to require session id in back-channel logout request.
    • isBackChannelLogoutSessionRequired

      public boolean isBackChannelLogoutSessionRequired()
      Get the flag to require session id in back-channel logout request.
      Specified by:
      isBackChannelLogoutSessionRequired in interface OAuthRPExtensions
      Returns:
      The flag to require session id in back-channel logout request.
    • setFrontChannelLogoutSessionRequired

      public void setFrontChannelLogoutSessionRequired(boolean flag)
      Set the flag to require session id in front-channel logout request.
      Specified by:
      setFrontChannelLogoutSessionRequired in interface OAuthRPExtensions
      Parameters:
      flag - The flag to require session id in front-channel logout request.
    • isFrontChannelLogoutSessionRequired

      public boolean isFrontChannelLogoutSessionRequired()
      Get the flag to require session id in front-channel logout request.
      Specified by:
      isFrontChannelLogoutSessionRequired in interface OAuthRPExtensions
      Returns:
      The flag to require session id in front-channel logout request.