Package org.opends.server.extensions
Class LDAPPassThroughAuthenticationPolicyFactory
- java.lang.Object
-
- org.opends.server.extensions.LDAPPassThroughAuthenticationPolicyFactory
-
- All Implemented Interfaces:
AuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
public final class LDAPPassThroughAuthenticationPolicyFactory extends Object implements AuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
LDAP pass through authentication policy implementation.
-
-
Constructor Summary
Constructors Constructor Description LDAPPassThroughAuthenticationPolicyFactory()
Public default constructor used by the admin framework.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationPolicy
createAuthenticationPolicy(LdapPassThroughAuthenticationPolicyCfg configuration)
Creates a new authentication policy using the provided configuration.boolean
isConfigurationAcceptable(LdapPassThroughAuthenticationPolicyCfg cfg, List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided authentication policy configuration is acceptable.
-
-
-
Method Detail
-
createAuthenticationPolicy
public AuthenticationPolicy createAuthenticationPolicy(LdapPassThroughAuthenticationPolicyCfg configuration) throws InitializationException
Description copied from interface:AuthenticationPolicyFactory
Creates a new authentication policy using the provided configuration.- Specified by:
createAuthenticationPolicy
in interfaceAuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
- Parameters:
configuration
- The configuration.- Returns:
- The new authentication policy configured using the provided configuration.
- Throws:
InitializationException
- If a problem occurs during initialization of the authentication policy.
-
isConfigurationAcceptable
public boolean isConfigurationAcceptable(LdapPassThroughAuthenticationPolicyCfg cfg, List<LocalizableMessage> unacceptableReasons)
Description copied from interface:AuthenticationPolicyFactory
Indicates whether the provided authentication policy configuration is acceptable.- Specified by:
isConfigurationAcceptable
in interfaceAuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
- Parameters:
cfg
- The authentication policy configuration.unacceptableReasons
- A list that can be used to hold messages about why the provided configuration is not acceptable.- Returns:
- Returns
true
if the provided authentication policy configuration is acceptable, orfalse
if it is not.
-
-