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

kenneth_suter
15.34.2007 80c58327faaa4873369f6bb949e62792c2f708e0
opends/src/server/org/opends/server/core/BindOperation.java
@@ -25,6 +25,7 @@
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 */
package org.opends.server.core;
import org.opends.messages.Message;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types.AuthenticationInfo;
@@ -34,6 +35,7 @@
import org.opends.server.types.Entry;
import org.opends.server.types.Operation;
/**
 * This interface defines an operation that may be used to authenticate a user
 * to the Directory Server.  Note that for security restrictions, response
@@ -191,26 +193,15 @@
   * @return  A human-readable message providing the reason that the
   *          authentication failed, or <CODE>null</CODE> if none is available.
   */
  public abstract String getAuthFailureReason();
  /**
   * Retrieves the unique identifier for the authentication failure reason, if
   * available.
   *
   * @return  The unique identifier for the authentication failure reason, or
   *          zero if none is available.
   */
  public abstract int getAuthFailureID();
  public abstract Message getAuthFailureReason();
  /**
   * Specifies the reason that the authentication failed.
   *
   * @param  id      The unique identifier for the authentication failure
   *                 reason.
   * @param  reason  A human-readable message providing the reason that the
   * @param  message providing the reason that the
   *                 authentication failed.
   */
  public abstract void setAuthFailureReason(int id, String reason);
  public abstract void setAuthFailureReason(Message message);
  /**
   * Retrieves the user entry DN for this bind operation.  It will only be