Interface HttpAnonymousAuthorizationMechanismCfg

All Superinterfaces:
Configuration, HttpAuthorizationMechanismCfg

public interface HttpAnonymousAuthorizationMechanismCfg extends HttpAuthorizationMechanismCfg
A server-side interface for querying HTTP Anonymous Authorization Mechanism settings.

The HTTP Anonymous Authorization Mechanism is used to define static authorization.

  • Method Details

    • configurationClass

      Class<? extends HttpAnonymousAuthorizationMechanismCfg> configurationClass()
      Gets the configuration class associated with this HTTP Anonymous Authorization Mechanism.
      Specified by:
      configurationClass in interface Configuration
      Specified by:
      configurationClass in interface HttpAuthorizationMechanismCfg
      Returns:
      Returns the configuration class associated with this HTTP Anonymous Authorization Mechanism.
    • addHttpAnonymousAuthorizationMechanismChangeListener

      void addHttpAnonymousAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpAnonymousAuthorizationMechanismCfg> listener)
      Register to be notified when this HTTP Anonymous Authorization Mechanism is changed.
      Parameters:
      listener - The HTTP Anonymous Authorization Mechanism configuration change listener.
    • removeHttpAnonymousAuthorizationMechanismChangeListener

      void removeHttpAnonymousAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpAnonymousAuthorizationMechanismCfg> listener)
      Deregister an existing HTTP Anonymous Authorization Mechanism configuration change listener.
      Parameters:
      listener - The HTTP Anonymous Authorization Mechanism configuration change listener.
    • getJavaClass

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

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

      Default value: org.opends.server.protocols.http.authz.HttpAnonymousAuthorizationMechanism

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

      Dn getUserDn()
      Gets the "user-dn" property.

      The authorization DN which will be used for performing anonymous operations.

      Returns:
      Returns the value of the "user-dn" property.