mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
28.47.2010 f2160f4bd1c8ac67e5a86a6710d431e8932877f9
sdk/src/org/opends/sdk/ReferralException.java
copy from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java copy to sdk/src/org/opends/sdk/ReferralException.java
File was copied from sdk/src/org/opends/sdk/sasl/PasswordCallbackHandler.java
@@ -22,21 +22,28 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2009 Sun Microsystems, Inc.
 *      Copyright 2009-2010 Sun Microsystems, Inc.
 */
package org.opends.sdk.sasl;
package org.opends.sdk;
import javax.security.auth.callback.PasswordCallback;
import org.opends.sdk.responses.Result;
/**
 * Password call-back.
 * Thrown when the result code returned in a Result indicates that the Request
 * could not be processed by the Directory Server because the target entry is
 * located on another server. More specifically, this exception is used for the
 * {@link ResultCode#REFERRAL REFERRAL} result code.
 */
public interface PasswordCallbackHandler
@SuppressWarnings("serial")
public class ReferralException extends EntryNotFoundException
{
  public boolean handle(PasswordCallback callback);
  ReferralException(final Result result)
  {
    super(result);
  }
}