copy from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
copy to sdk/src/com/sun/opends/sdk/extensions/PasswordPolicyStateOperationContainer.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; |
| | | |
| | | |
| | | |
| | | import javax.security.auth.callback.PasswordCallback; |
| | | package com.sun.opends.sdk.extensions; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Password call-back. |
| | | * Password policy state operation container. |
| | | */ |
| | | public interface PasswordCallbackHandler |
| | | interface PasswordPolicyStateOperationContainer |
| | | { |
| | | public boolean handle(PasswordCallback callback); |
| | | /** |
| | | * Adds an operation to this container. |
| | | * |
| | | * @param operation |
| | | * The operation to be added. |
| | | */ |
| | | void addOperation(PasswordPolicyStateOperation operation); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Returns the operations in this container. |
| | | * |
| | | * @return The operations in this container. |
| | | */ |
| | | Iterable<PasswordPolicyStateOperation> getOperations(); |
| | | } |