|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetscape.ldap.client.opers.JDAPResult
public class JDAPResult
This class implements the ldap result where stores the request status. It is the base class for all the response except search response. This object is sent from the server to the client interface.
LDAPResult ::= SEQUENCE { resultCode ENUMERATED { success (0), ... }, matchedDN LDAPDN, errorMessage LDAPString }Note that LDAPv3 supports referral within the LDAP Result. The added component is:
LDAPResult ::= SEQUENCE { ... errorMessage LDAPString, referral [3] Referral OPTIONAL }
Constructor Summary | |
---|---|
JDAPResult(BERElement element)
Constructs ldap result. |
Method Summary | |
---|---|
BERElement |
getBERElement()
Retrieves the ber representation of the result. |
java.lang.String |
getErrorMessage()
Gets the error message. |
java.lang.String |
getMatchedDN()
Gets the matched dn. |
java.lang.String |
getParamString()
Retrieves string representation of the result. |
java.lang.String[] |
getReferrals()
Retrieves referrals from the LDAP Result. |
int |
getResultCode()
Gets the result code. |
java.lang.String |
toString()
Retrieves string representation of the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SUCCESS
public static final int OPERATION_ERROR
public static final int PROTOCOL_ERROR
public static final int TIME_LIMIT_EXCEEDED
public static final int SIZE_LIMIT_EXCEEDED
public static final int COMPARE_FALSE
public static final int COMPARE_TRUE
public static final int AUTH_METHOD_NOT_SUPPORTED
public static final int STRONG_AUTH_REQUIRED
public static final int LDAP_PARTIAL_RESULTS
public static final int REFERRAL
public static final int ADMIN_LIMIT_EXCEEDED
public static final int UNAVAILABLE_CRITICAL_EXTENSION
public static final int CONFIDENTIALITY_REQUIRED
public static final int SASL_BIND_IN_PROGRESS
public static final int NO_SUCH_ATTRIBUTE
public static final int UNDEFINED_ATTRIBUTE_TYPE
public static final int INAPPROPRIATE_MATCHING
public static final int CONSTRAINT_VIOLATION
public static final int ATTRIBUTE_OR_VALUE_EXISTS
public static final int INVALID_ATTRIBUTE_SYNTAX
public static final int NO_SUCH_OBJECT
public static final int ALIAS_PROBLEM
public static final int INVALID_DN_SYNTAX
public static final int IS_LEAF
public static final int ALIAS_DEREFERENCING_PROBLEM
public static final int INAPPROPRIATE_AUTHENTICATION
public static final int INVALID_CREDENTIALS
public static final int INSUFFICIENT_ACCESS_RIGHTS
public static final int BUSY
public static final int UNAVAILABLE
public static final int UNWILLING_TO_PERFORM
public static final int LOOP_DETECT
public static final int NAMING_VIOLATION
public static final int OBJECT_CLASS_VIOLATION
public static final int NOT_ALLOWED_ON_NONLEAF
public static final int NOT_ALLOWED_ON_RDN
public static final int ENTRY_ALREADY_EXISTS
public static final int OBJECT_CLASS_MODS_PROHIBITED
public static final int AFFECTS_MULTIPLE_DSAS
public static final int OTHER
public static final int SERVER_DOWN
public static final int PARAM_ERROR
public static final int CONNECT_ERROR
public static final int LDAP_NOT_SUPPORTED
public static final int CONTROL_NOT_FOUND
public static final int NO_RESULTS_RETURNED
public static final int MORE_RESULTS_TO_RETURN
public static final int CLIENT_LOOP
public static final int REFERRAL_LIMIT_EXCEEDED
protected BERElement m_element
protected int m_result_code
protected java.lang.String m_matched_dn
protected java.lang.String m_error_message
protected java.lang.String[] m_referrals
Constructor Detail |
---|
public JDAPResult(BERElement element) throws java.io.IOException
element
- ber element
java.io.IOException
Method Detail |
---|
public int getResultCode()
public java.lang.String getMatchedDN()
public java.lang.String getErrorMessage()
public java.lang.String[] getReferrals()
public BERElement getBERElement()
public java.lang.String getParamString()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |