LDAP Classes
Implements Java LDAP

com.novell.ldap.controls
Class LDAPEffectivePrivilegesControl

java.lang.Object
  extended bycom.novell.ldap.LDAPControl
      extended bycom.novell.ldap.controls.LDAPEffectivePrivilegesControl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.io.Serializable

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

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
 

Constructor Detail

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 control
selectionList - An array of LDAPEffectivePrivilegesSelection objects
critical - True if the search operation is to fail if the server does not support this control.

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000