copy from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
copy to sdk/src/com/sun/opends/sdk/extensions/PasswordPolicyStateOperation.java
| File was copied from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java |
| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.sdk.sasl; |
| | | package com.sun.opends.sdk.extensions; |
| | | |
| | | |
| | | |
| | | import javax.security.auth.callback.PasswordCallback; |
| | | import org.opends.sdk.ByteString; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Password call-back. |
| | | * Password policy state operation. |
| | | */ |
| | | public interface PasswordCallbackHandler |
| | | public interface PasswordPolicyStateOperation |
| | | { |
| | | public boolean handle(PasswordCallback callback); |
| | | /** |
| | | * Returns the type of operation. |
| | | * |
| | | * @return The type of operation. |
| | | */ |
| | | PasswordPolicyStateOperationType getOperationType(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Returns the operation values. |
| | | * |
| | | * @return The operation values. |
| | | */ |
| | | Iterable<ByteString> getValues(); |
| | | } |