LDAP Classes
Implements Java LDAP

com.novell.ldap.controls
Class LDAPEffectivePrivilegesSelection

java.lang.Object
  extended bycom.novell.ldap.controls.LDAPEffectivePrivilegesSelection

public class LDAPEffectivePrivilegesSelection
extends java.lang.Object

Encapsulates parameters for selction of attribute names or object class names for Effective Privileges Control

Sample Code: EffectivePrivilegesControlSample.java


Constructor Summary
LDAPEffectivePrivilegesSelection()
          Default Constructor.
LDAPEffectivePrivilegesSelection(java.lang.String selectionAttr, java.lang.String selectionClass)
          Constructs a new LDAPEffectivePrivilegesSelection object using either selectionAttr or selectionClass.
 
Method Summary
 java.lang.String getSelectionAttr()
          Returns the selectionAttr.
 java.lang.String getSelectionClass()
          Returns the selectionClass.
 void setSelectionAttr(java.lang.String strAttr)
          This method set the selectionAttr property of this class to what is passed in argument
 void setSelectionClass(java.lang.String strClass)
          This method set the selectionClass property of this class to what is passed in argument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPEffectivePrivilegesSelection

public LDAPEffectivePrivilegesSelection()
Default Constructor. Call setXXX() method after calling this constructor. Call either setSelectionAttr(..) or setSelectionClass(..) to set the Property but not both.


LDAPEffectivePrivilegesSelection

public LDAPEffectivePrivilegesSelection(java.lang.String selectionAttr,
                                        java.lang.String selectionClass)
Constructs a new LDAPEffectivePrivilegesSelection object using either selectionAttr or selectionClass. selectionAttr and selectionClass properties are both mutually exclusive (i.e., ASN1Choice type of BER data).

Parameters:
selectionAttr - Name of the attribute in Effective Privileges Selections sequence
selectionClass - Name of the object class in Effective Privileges Selections sequence
Method Detail

getSelectionAttr

public java.lang.String getSelectionAttr()
Returns the selectionAttr.

Returns:
selectionAttr as String.

setSelectionAttr

public void setSelectionAttr(java.lang.String strAttr)
This method set the selectionAttr property of this class to what is passed in argument

Parameters:
strAttr - Name of the attribute in Effective Privileges Selections sequence

getSelectionClass

public java.lang.String getSelectionClass()
Returns the selectionClass.

Returns:
selectionClass as String.

setSelectionClass

public void setSelectionClass(java.lang.String strClass)
This method set the selectionClass property of this class to what is passed in argument

Parameters:
strClass - Name of the object class in Effective Privileges Selections sequence

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