Class AuthenticatorPropertySource

java.lang.Object
org.ldaptive.props.AbstractPropertySource<Authenticator>
org.ldaptive.props.AuthenticatorPropertySource
All Implemented Interfaces:
PropertySource<Authenticator>

public final class AuthenticatorPropertySource extends AbstractPropertySource<Authenticator>
Reads properties specific to Authenticator and returns an initialized object of that type.
  • Field Details

  • Constructor Details

    • AuthenticatorPropertySource

      public AuthenticatorPropertySource(Authenticator a)
      Creates a new authenticator property source using the default properties file.
      Parameters:
      a - authenticator to set properties on
    • AuthenticatorPropertySource

      public AuthenticatorPropertySource(Authenticator a, String... paths)
      Creates a new authenticator property source.
      Parameters:
      a - authenticator to set properties on
      paths - to read properties from
    • AuthenticatorPropertySource

      public AuthenticatorPropertySource(Authenticator a, Reader... readers)
      Creates a new authenticator property source.
      Parameters:
      a - authenticator to set properties on
      readers - to read properties from
    • AuthenticatorPropertySource

      public AuthenticatorPropertySource(Authenticator a, Properties props)
      Creates a new authenticator property source.
      Parameters:
      a - authenticator to set properties on
      props - to read properties from
    • AuthenticatorPropertySource

      public AuthenticatorPropertySource(Authenticator a, PropertySource.PropertyDomain domain, Properties props)
      Creates a new authenticator property source.
      Parameters:
      a - authenticator to set properties on
      domain - that properties are in
      props - to read properties from
  • Method Details

    • initialize

      public void initialize()
      Description copied from interface: PropertySource
      Initializes the object for this property source.
    • initConnectionFactoryManager

      private void initConnectionFactoryManager(ConnectionFactoryManager cfm)
      Initializes the supplied connection factory manager using the properties in this property source.
      Parameters:
      cfm - to initialize
    • getProperties

      public static Set<String> getProperties()
      Returns the property names for this property source.
      Returns:
      all property names