Interface HttpOauth2AuthorizationMechanismCfgClient

    • Method Detail

      • isAccessTokenCacheEnabled

        @MandatoryProperty
        ValueOrExpression<Boolean> isAccessTokenCacheEnabled()
        Gets the "access-token-cache-enabled" property.

        Indicates whether the HTTP OAuth2 Authorization Mechanism is enabled for use.

        Default value: false

        Returns:
        Returns the value of the "access-token-cache-enabled" property.
      • setAccessTokenCacheEnabled

        @MandatoryProperty
        void setAccessTokenCacheEnabled​(ValueOrExpression<Boolean> value)
                                 throws PropertyException
        Sets the "access-token-cache-enabled" property.

        Indicates whether the HTTP OAuth2 Authorization Mechanism is enabled for use.

        Parameters:
        value - The value of the "access-token-cache-enabled" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getAccessTokenCacheExpiration

        ValueOrExpression<Long> getAccessTokenCacheExpiration()
        Gets the "access-token-cache-expiration" property.

        Token cache expiration

        Default value is undefined

        Returns:
        Returns the value of the "access-token-cache-expiration" property.
      • setAccessTokenCacheExpiration

        void setAccessTokenCacheExpiration​(ValueOrExpression<Long> value)
                                    throws PropertyException
        Sets the "access-token-cache-expiration" property.

        Token cache expiration

        Parameters:
        value - The value of the "access-token-cache-expiration" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getAuthzidJsonPointer

        @MandatoryProperty
        ValueOrExpression<String> getAuthzidJsonPointer()
        Gets the "authzid-json-pointer" property.

        Specifies the JSON pointer to the value to use as Authorization ID. The JSON pointer is applied to the resolved access token JSON document.

        Returns:
        Returns the value of the "authzid-json-pointer" property.
      • setAuthzidJsonPointer

        @MandatoryProperty
        void setAuthzidJsonPointer​(ValueOrExpression<String> value)
                            throws PropertyException
        Sets the "authzid-json-pointer" property.

        Specifies the JSON pointer to the value to use as Authorization ID. The JSON pointer is applied to the resolved access token JSON document.

        Parameters:
        value - The value of the "authzid-json-pointer" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getIdentityMapper

        @MandatoryProperty
        SortedSet<ValueOrExpression<String>> getIdentityMapper()
        Gets the "identity-mapper" property.

        Specifies the name of the identity mapper(s) to use in conjunction with the authzid-json-pointer to get the user corresponding to the acccess-token.

        Returns:
        Returns the values of the "identity-mapper" property.
      • setIdentityMapper

        @MandatoryProperty
        void setIdentityMapper​(Collection<ValueOrExpression<String>> values)
                        throws PropertyException
        Sets the "identity-mapper" property.

        Specifies the name of the identity mapper(s) to use in conjunction with the authzid-json-pointer to get the user corresponding to the acccess-token.

        Parameters:
        values - The values of the "identity-mapper" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.