Interface HTTPOauth2FileAuthorizationMechanismCfgClient

    • Method Detail

      • getAccessTokenDirectory

        String getAccessTokenDirectory()
        Gets the "access-token-directory" property.

        Directory containing token files. File names must be equal to the token strings. The file content must a JSON object with the following attributes: 'scope', 'expireTime' and all the field(s) needed to resolve the authzIdTemplate.

        Returns:
        Returns the value of the "access-token-directory" property.
      • setAccessTokenDirectory

        void setAccessTokenDirectory​(String value)
                              throws PropertyException
        Sets the "access-token-directory" property.

        Directory containing token files. File names must be equal to the token strings. The file content must a JSON object with the following attributes: 'scope', 'expireTime' and all the field(s) needed to resolve the authzIdTemplate.

        Parameters:
        value - The value of the "access-token-directory" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        Specifies the fully-qualified name of the Java class that provides the HTTP Oauth2 File Authorization Mechanism implementation.

        Specified by:
        getJavaClass in interface HTTPAuthorizationMechanismCfgClient
        Returns:
        Returns the value of the "java-class" property.