All LDAP Classes
Internal LDAP Classes

com.novell.ldap.extensions
Class GetEffectivePrivilegesListRequest

java.lang.Object
  extended by com.novell.ldap.LDAPExtendedOperation
      extended by com.novell.ldap.extensions.GetEffectivePrivilegesListRequest
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable

public class GetEffectivePrivilegesListRequest
extends LDAPExtendedOperation

Returns the effective rights of one object to a string of attributes of another object.

To use this class, you must instantiate an object of this class and then call the extendedOperation method with this object as the required LDAPExtendedOperation parameter.

The returned LDAPExtendedResponse object can then be converted to a GetEffectivePrivilegesListResponse object with the ExtendedResponseFactory class. The GetEffectivePrivilegesListResponse class contains methods for retrieving the effective rights.

The getEffectivePrivilegesListRequest extension uses the following OID:
   2.16.840.1.113719.1.27.100.103

The requestValue has the following format:
requestValue ::=
     dn     LDAPDN
     trusteeDN    LDAPDN
     sequence of {"attr1","attr2",...,null}     LDAPDN

See Also:
Serialized Form

Constructor Summary
GetEffectivePrivilegesListRequest(java.lang.String dn, java.lang.String trusteeDN, java.lang.String[] attrName)
          Constructs an extended operation object for checking effective rights.
 
Method Summary
 
Methods inherited from class com.novell.ldap.LDAPExtendedOperation
clone, getID, getValue, readDSML, readExternal, setID, setValue, toString, writeDSML, writeExternal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetEffectivePrivilegesListRequest

public GetEffectivePrivilegesListRequest(java.lang.String dn,
                                         java.lang.String trusteeDN,
                                         java.lang.String[] attrName)
                                  throws LDAPException
Constructs an extended operation object for checking effective rights.

Parameters:
dn - The distinguished name of the entry whose attribute is being checked.

trusteeDN - The distinguished name of the entry whose trustee rights are being returned

sequence - of {"attr1","attr2",...,null} The list of LDAP attribute names.
Throws:
LDAPException - A general exception which includes an error message and an LDAP error code.

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