All LDAP Classes
Internal LDAP Classes

com.novell.ldap.controls
Class LDAPEffectivePrivilegesSelection

java.lang.Object
  extended by com.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


Field Summary
private  java.lang.String selectionAttr
           
private  java.lang.String selectionClass
           
 
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
 

Field Detail

selectionAttr

private java.lang.String selectionAttr

selectionClass

private java.lang.String selectionClass
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

All LDAP Classes
Internal LDAP Classes

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