public final class LDAPPassThroughAuthenticationPolicyFactory extends Object implements AuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
Constructor and Description |
---|
LDAPPassThroughAuthenticationPolicyFactory()
Public default constructor used by the admin framework.
|
Modifier and Type | Method and 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.
|
public LDAPPassThroughAuthenticationPolicyFactory()
public AuthenticationPolicy createAuthenticationPolicy(LdapPassThroughAuthenticationPolicyCfg configuration) throws InitializationException
AuthenticationPolicyFactory
createAuthenticationPolicy
in interface AuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
configuration
- The configuration.InitializationException
- If a problem occurs during initialization of the authentication policy.public boolean isConfigurationAcceptable(LdapPassThroughAuthenticationPolicyCfg cfg, List<LocalizableMessage> unacceptableReasons)
AuthenticationPolicyFactory
isConfigurationAcceptable
in interface AuthenticationPolicyFactory<LdapPassThroughAuthenticationPolicyCfg>
cfg
- The authentication policy configuration.unacceptableReasons
- A list that can be used to hold messages about why the provided configuration is not acceptable.true
if the provided authentication policy configuration is acceptable, or
false
if it is not.Copyright 2010-2022 ForgeRock AS.