Class OAuthRPExtensionsImpl

    • Field Detail

      • tokenEndpointAuthMethod

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

        private String responseTypes
        Response types for this entity.
      • grantTypes

        private String grantTypes
        Grant types for this entity.
      • applicationType

        private String applicationType
        Application type for this entity.
      • clientUri

        private String clientUri
        Client URI for this entity.
      • scopes

        private String scopes
        Scopes for this entity.
      • softwareId

        private String softwareId
        Software identifier for this entity.
      • softwareVersion

        private String softwareVersion
        Software version for this entity.
      • sectorIdentifierUri

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

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

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

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

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

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

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

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

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

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

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

        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.
      • unknownAttributes

        private final AttributeMap unknownAttributes
        "anyAttribute" attributes.
    • Constructor Detail

      • OAuthRPExtensionsImpl

        protected OAuthRPExtensionsImpl​(String namespaceURI,
                                        String elementLocalName,
                                        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 Detail

      • getResponseTypes

        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​(String types)
        Set the whitespace-delimited list of response types.
        Specified by:
        setResponseTypes in interface OAuthRPExtensions
        Parameters:
        types - response types
      • getGrantTypes

        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​(String types)
        Set the whitespace-delimited list of grant types.
        Specified by:
        setGrantTypes in interface OAuthRPExtensions
        Parameters:
        types - grant types
      • setTokenEndpointAuthMethod

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

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

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

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

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

        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​(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

        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​(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

        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​(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

        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​(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

        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​(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

        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​(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

        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​(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

        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​(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

        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​(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

        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​(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.
      • setInitiateLoginUri

        public void setInitiateLoginUri​(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.
      • 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.