|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.ldap.LDAPMessage
com.novell.ldap.LDAPResponse
com.novell.ldap.LDAPExtendedResponse
com.novell.ldap.extensions.GetEffectivePrivilegesResponse
public class GetEffectivePrivilegesResponse
Retrieves the effective rights from an GetEffectivePrivilegesResponse object.
An object in this class is generated from an ExtendedResponse object using the ExtendedResponseFactory class.
The getEffectivePrivilegesResponse extension uses the following OID:
2.16.840.1.113719.1.27.100.34
Field Summary | |
---|---|
private int |
privileges
|
Fields inherited from class com.novell.ldap.LDAPMessage |
---|
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary | |
---|---|
GetEffectivePrivilegesResponse(RfcLDAPMessage rfcMessage)
Constructs an object from the responseValue which contains the effective privileges. |
Method Summary | |
---|---|
int |
getPrivileges()
Returns the effective privileges. |
Methods inherited from class com.novell.ldap.LDAPExtendedResponse |
---|
getID, getRegisteredResponses, getValue, register, setDeserializedValues |
Methods inherited from class com.novell.ldap.LDAPResponse |
---|
chkResultCode, getControls, getErrorMessage, getMatchedDN, getMessageID, getReferrals, getResultCode, getType |
Methods inherited from class com.novell.ldap.LDAPMessage |
---|
getTag, isRequest, readDSML, readExternal, setTag, toString, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int privileges
Constructor Detail |
---|
public GetEffectivePrivilegesResponse(RfcLDAPMessage rfcMessage) throws java.io.IOException
The constructor parses the responseValue which has the following
format:
responseValue ::=
privileges INTEGER
java.io.IOException
- The responseValue could not be decoded.Method Detail |
---|
public int getPrivileges()
See the ReplicationConstants class for the privilege flags.
LDAPDSConstants.LDAP_DS_ATTR_COMPARE
,
LDAPDSConstants.LDAP_DS_ATTR_READ
,
LDAPDSConstants.LDAP_DS_ATTR_WRITE
,
LDAPDSConstants.LDAP_DS_ATTR_SELF
,
LDAPDSConstants.LDAP_DS_ATTR_SUPERVISOR
,
LDAPDSConstants.LDAP_DS_ATTR_INHERIT_CTL
|
All LDAP Classes Internal LDAP Classes |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |