com.novell.ldap.controls
Class LDAPEffectivePrivilegesControl
java.lang.Object
com.novell.ldap.LDAPControl
com.novell.ldap.controls.LDAPEffectivePrivilegesControl
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, java.lang.Cloneable
public class LDAPEffectivePrivilegesControl
- extends LDAPControl
LDAPEffectivePrivilegesControl is a Server Control. This controls what is
contained in the attribute effectivePrivilges 2.16.840.1.113719.1.1.4.640.
If includeallleagalattributes is passed and is true then regardless of what
is on the object privileges, all legal attributes will be returned.
If selection is passed then those attributes passed in the selection list
will be returned.
If neither includeallleagalattributes or selection is passed then
the default behavior is assume IncludeAllLegalAttributes==false
and no selection list.
If the control was marked "critical", the whole search operation will fail
if the control is not supported by server.
Sample Code: EffectivePrivilegesControlSample.java
- See Also:
- Serialized Form
Field Summary |
private static java.lang.String |
requestOID
The requestOID of the control |
Constructor Summary |
LDAPEffectivePrivilegesControl(boolean critical,
boolean includeAllLegalAttributes,
java.util.ArrayList selectionList)
Constructs a Effective Privileges control with includeAllLegalAttributes
and selectionList passed in the argument. |
Methods inherited from class com.novell.ldap.LDAPControl |
clone, getID, getValue, isCritical, readDSML, readExternal, register, setValue, toString, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
requestOID
private static java.lang.String requestOID
- The requestOID of the control
LDAPEffectivePrivilegesControl
public LDAPEffectivePrivilegesControl(boolean critical,
boolean includeAllLegalAttributes,
java.util.ArrayList selectionList)
- Constructs a Effective Privileges control with includeAllLegalAttributes
and selectionList passed in the argument.
- Parameters:
includeAllLegalAttributes
- Boolean value which marks if all
attributes are Legal in Effective Privileges
controlselectionList
- An array of LDAPEffectivePrivilegesSelection
objectscritical
- True if the search operation is to fail if the
server does not support this control.
Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000