Interface HTTPOauth2FileAuthorizationMechanismCfg

    • Method Detail

      • addHTTPOauth2FileAuthorizationMechanismChangeListener

        void addHTTPOauth2FileAuthorizationMechanismChangeListener​(ConfigurationChangeListener<HTTPOauth2FileAuthorizationMechanismCfg> listener)
        Register to be notified when this HTTP Oauth2 File Authorization Mechanism is changed.
        Parameters:
        listener - The HTTP Oauth2 File Authorization Mechanism configuration change listener.
      • removeHTTPOauth2FileAuthorizationMechanismChangeListener

        void removeHTTPOauth2FileAuthorizationMechanismChangeListener​(ConfigurationChangeListener<HTTPOauth2FileAuthorizationMechanismCfg> listener)
        Deregister an existing HTTP Oauth2 File Authorization Mechanism configuration change listener.
        Parameters:
        listener - The HTTP Oauth2 File Authorization Mechanism configuration change listener.
      • 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.
      • 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 HTTPAuthorizationMechanismCfg
        Returns:
        Returns the value of the "java-class" property.