public abstract class AbstractPasswordPolicyResponder extends Object implements PasswordPolicyResponder
PasswordPolicyResponder
.
Extend this class and override success(PasswordPolicy),
fail(ResultResponse, PasswordPolicy, ResultCodeEnum), or
exception(LdapException). If that does not offer enough
flexibility, you must implement PasswordPolicyResponder yourself.Modifier and Type | Method and Description |
---|---|
PasswordWarning |
process(PasswordPolicyOperation operation)
Execute the
operation and translate the outcome as follows:
SUCCESS: return null
WARNING: return PasswordWarning
FAILURE: throw PasswordException
|
public final PasswordWarning process(PasswordPolicyOperation operation) throws PasswordException
PasswordPolicyResponder
operation
and translate the outcome as follows:
PasswordWarning
PasswordException
process
in interface PasswordPolicyResponder
operation
- An operation whose outcome implies password policy
informationPasswordWarning
if warnings are present, or null
if completely successful.PasswordException
- If the operation
was a failure.Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.