gnu.inet.ldap
Class LDAPResult

java.lang.Object
  extended by gnu.inet.ldap.LDAPResult

public class LDAPResult
extends java.lang.Object

An LDAP result structure.


Field Summary
static int ADMIN_LIMIT_EXCEEDED
           
static int AFFECTS_MULTIPLE_DSAS
           
static int ALIAS_DEREFERENCING_PROBLEM
           
static int ALIAS_PROBLEM
           
static int ATTRIBUTE_OR_VALUE_EXISTS
           
static int AUTH_METHOD_NOT_SUPPORTED
           
static int BUSY
           
static int COMPARE_FALSE
           
static int COMPARE_TRUE
           
static int CONFIDENTIALITY_REQUIRED
           
static int CONSTRAINT_VIOLATION
           
static int ENTRY_ALREADY_EXISTS
           
 java.lang.String errorMessage
          An associated error message.
static int INAPPROPRIATE_AUTHENTICATION
           
static int INAPPROPRIATE_MATCHING
           
static int INSUFFICIENT_ACCESS_RIGHTS
           
static int INVALID_ATTRIBUTE_SYNTAX
           
static int INVALID_CREDENTIALS
           
static int INVALID_DN_SYNTAX
           
static int LOOP_DETECT
           
 java.lang.String matchedDN
          The name of the matching entry.
static int NAMING_VIOLATION
           
static int NO_SUCH_ATTRIBUTE
           
static int NO_SUCH_OBJECT
           
static int NOT_ALLOWED_ON_NON_LEAF
           
static int NOT_ALLOWED_ON_RDN
           
static int OBJECT_CLASS_MODS_PROHIBITED
           
static int OBJECT_CLASS_VIOLATION
           
static int OPERATIONS_ERROR
           
static int OTHER
           
static int PROTOCOL_ERROR
           
static int REFERRAL
           
 java.lang.String[] referrals
          A list of LDAP URLs to refer to if the status is REFERRAL.
static int SASL_BIND_IN_PROGRESS
           
static int SIZE_LIMIT_EXCEEDED
           
 int status
          The result code associated with this result.
static int STRONG_AUTH_REQUIRED
           
static int SUCCESS
           
static int TIME_LIMIT_EXCEEDED
           
static int UNAVAILABLE
           
static int UNAVAILABLE_CRITICAL_EXTENSION
           
static int UNDEFINED_ATTRIBUTE_TYPE
           
static int UNWILLING_TO_PERFORM
           
 
Constructor Summary
protected LDAPResult(int status, java.lang.String matchedDN, java.lang.String errorMessage, java.lang.String[] referrals)
           
 
Method Summary
 java.lang.String toString()
          Debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

OPERATIONS_ERROR

public static final int OPERATIONS_ERROR
See Also:
Constant Field Values

PROTOCOL_ERROR

public static final int PROTOCOL_ERROR
See Also:
Constant Field Values

TIME_LIMIT_EXCEEDED

public static final int TIME_LIMIT_EXCEEDED
See Also:
Constant Field Values

SIZE_LIMIT_EXCEEDED

public static final int SIZE_LIMIT_EXCEEDED
See Also:
Constant Field Values

COMPARE_FALSE

public static final int COMPARE_FALSE
See Also:
Constant Field Values

COMPARE_TRUE

public static final int COMPARE_TRUE
See Also:
Constant Field Values

AUTH_METHOD_NOT_SUPPORTED

public static final int AUTH_METHOD_NOT_SUPPORTED
See Also:
Constant Field Values

STRONG_AUTH_REQUIRED

public static final int STRONG_AUTH_REQUIRED
See Also:
Constant Field Values

REFERRAL

public static final int REFERRAL
See Also:
Constant Field Values

ADMIN_LIMIT_EXCEEDED

public static final int ADMIN_LIMIT_EXCEEDED
See Also:
Constant Field Values

UNAVAILABLE_CRITICAL_EXTENSION

public static final int UNAVAILABLE_CRITICAL_EXTENSION
See Also:
Constant Field Values

CONFIDENTIALITY_REQUIRED

public static final int CONFIDENTIALITY_REQUIRED
See Also:
Constant Field Values

SASL_BIND_IN_PROGRESS

public static final int SASL_BIND_IN_PROGRESS
See Also:
Constant Field Values

NO_SUCH_ATTRIBUTE

public static final int NO_SUCH_ATTRIBUTE
See Also:
Constant Field Values

UNDEFINED_ATTRIBUTE_TYPE

public static final int UNDEFINED_ATTRIBUTE_TYPE
See Also:
Constant Field Values

INAPPROPRIATE_MATCHING

public static final int INAPPROPRIATE_MATCHING
See Also:
Constant Field Values

CONSTRAINT_VIOLATION

public static final int CONSTRAINT_VIOLATION
See Also:
Constant Field Values

ATTRIBUTE_OR_VALUE_EXISTS

public static final int ATTRIBUTE_OR_VALUE_EXISTS
See Also:
Constant Field Values

INVALID_ATTRIBUTE_SYNTAX

public static final int INVALID_ATTRIBUTE_SYNTAX
See Also:
Constant Field Values

NO_SUCH_OBJECT

public static final int NO_SUCH_OBJECT
See Also:
Constant Field Values

ALIAS_PROBLEM

public static final int ALIAS_PROBLEM
See Also:
Constant Field Values

INVALID_DN_SYNTAX

public static final int INVALID_DN_SYNTAX
See Also:
Constant Field Values

ALIAS_DEREFERENCING_PROBLEM

public static final int ALIAS_DEREFERENCING_PROBLEM
See Also:
Constant Field Values

INAPPROPRIATE_AUTHENTICATION

public static final int INAPPROPRIATE_AUTHENTICATION
See Also:
Constant Field Values

INVALID_CREDENTIALS

public static final int INVALID_CREDENTIALS
See Also:
Constant Field Values

INSUFFICIENT_ACCESS_RIGHTS

public static final int INSUFFICIENT_ACCESS_RIGHTS
See Also:
Constant Field Values

BUSY

public static final int BUSY
See Also:
Constant Field Values

UNAVAILABLE

public static final int UNAVAILABLE
See Also:
Constant Field Values

UNWILLING_TO_PERFORM

public static final int UNWILLING_TO_PERFORM
See Also:
Constant Field Values

LOOP_DETECT

public static final int LOOP_DETECT
See Also:
Constant Field Values

NAMING_VIOLATION

public static final int NAMING_VIOLATION
See Also:
Constant Field Values

OBJECT_CLASS_VIOLATION

public static final int OBJECT_CLASS_VIOLATION
See Also:
Constant Field Values

NOT_ALLOWED_ON_NON_LEAF

public static final int NOT_ALLOWED_ON_NON_LEAF
See Also:
Constant Field Values

NOT_ALLOWED_ON_RDN

public static final int NOT_ALLOWED_ON_RDN
See Also:
Constant Field Values

ENTRY_ALREADY_EXISTS

public static final int ENTRY_ALREADY_EXISTS
See Also:
Constant Field Values

OBJECT_CLASS_MODS_PROHIBITED

public static final int OBJECT_CLASS_MODS_PROHIBITED
See Also:
Constant Field Values

AFFECTS_MULTIPLE_DSAS

public static final int AFFECTS_MULTIPLE_DSAS
See Also:
Constant Field Values

OTHER

public static final int OTHER
See Also:
Constant Field Values

status

public final int status
The result code associated with this result.


matchedDN

public final java.lang.String matchedDN
The name of the matching entry.


errorMessage

public final java.lang.String errorMessage
An associated error message.


referrals

public final java.lang.String[] referrals
A list of LDAP URLs to refer to if the status is REFERRAL.

Constructor Detail

LDAPResult

protected LDAPResult(int status,
                     java.lang.String matchedDN,
                     java.lang.String errorMessage,
                     java.lang.String[] referrals)
Method Detail

toString

public java.lang.String toString()
Debugging.

Overrides:
toString in class java.lang.Object