public interface LDAPNamespace extends AdminNamespace, LDAPAuthenticationNamespace, NamespaceSnapin, NamespaceSnapinRev2
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GET_EFFECTIVE_RIGHTS_REQ |
static java.lang.String |
INCLUDE_SUBENTRIES_CONTROL_ID |
static java.lang.String |
MANAGE_DSA_IT_CONTROL_ID |
static java.lang.String |
name |
static java.lang.String |
NVDS_EFFECTIVE_PRIVILEGES_CONTROL_ID |
static java.lang.String |
RESOLVE_ALIAS_CONTROL_ID |
EVENT_POST_NOTIFICATION, EVENT_PRE_NOTIFICATION, GETATTR_CONTEXTSTATICVALUES, GETATTR_READFROMWRITABLEREPLICA, GETATTR_USEEXCEPTIONREFERENCE| Modifier and Type | Method and Description |
|---|---|
boolean |
clearControl(java.lang.String controlOID)
Clears the specified control on this context.
|
java.lang.String[] |
getNamingContexts()
Get the naming contexts on the current server.
|
ValueList[] |
getNVDSEffectivePrivileges(ObjectEntry obj,
boolean allLegalAttrs)
NVDS-specific method to get effective rights of the logged-in user on an object.
|
ValueList[] |
getNVDSEffectivePrivileges(ObjectEntry obj,
java.lang.String[] attrs,
java.lang.String[] classes)
NVDS-specific method to get effective rights of the logged-in user on an object.
|
java.lang.String |
getProviderURL()
Returns the LDAP server's host name and port number to which this
namespace is authenticated.
|
java.util.ArrayList |
getSupportedControls()
Returns a list of OIDs representing the LDAP controls supported by this server.
|
java.util.ArrayList |
getSupportedExtensions()
Returns a list of OIDs representing the LDAP extensions supported by this server.
|
boolean |
isControlSet(java.lang.String controlOID)
Tests whether a control is currently set on this context.
|
java.lang.String |
sendXMLRequest(java.lang.String servicePath,
java.lang.String xmlRequest)
Sends an NVDS XML Payload Extension to the server
|
boolean |
setControl(java.lang.String controlOID)
Sets the spcified control on this context.
|
addDirectoryEventListener, compareAttribute, create, createNSObject, createNSObject, createNSObject, createObjectEntry, createSPIException, delete, deleteAttributeValues, doesExist, freeDetails, getAttribute, getAttributeDefinition, getAttributes, getAttributes, getAttributes, getAttributes, getAttributesPresent, getChildren, getChildren, getClassDefinition, getContext, getCreationTime, getDelayedAttibuteDetails, getDelayedAttibuteDetails, getDereferencedAliasObjectDN, getDetails, getDetails, getFullName, getFullyTypedName, getLastModificationTime, getMaxNameLength, getNameComponents, getObjectEffectiveRights, getObjectEntry, getObjectEntry, getObjectType, getObjectType, getObjectTypes, getOrderedPropertyEffectiveRights, getPropertyEffectiveRights, getSchemaDefinition, isSupported, isSupported, isSupported, move, removeDirectoryEventListener, rename, setAttribute, setAttributes, updategetChildContainers, getInitialObjectEntries, getUniqueID, getUnrootedNamegetSnapinDescription, getSnapinName, initSnapin, shutdownSnapingetInitialObjectEntriesgetParentAndSimpleNameauthenticate, authenticate, authenticateServer, changePassword, changePassword, getAuthenticatedIdentity, getLoginCache, setPassword, setPassword, setPassword, unAuthenticate, unAuthenticateauthenticate, authenticate, authenticate, authenticateServerstatic final java.lang.String name
static final java.lang.String MANAGE_DSA_IT_CONTROL_ID
static final java.lang.String INCLUDE_SUBENTRIES_CONTROL_ID
static final java.lang.String RESOLVE_ALIAS_CONTROL_ID
static final java.lang.String GET_EFFECTIVE_RIGHTS_REQ
static final java.lang.String NVDS_EFFECTIVE_PRIVILEGES_CONTROL_ID
boolean setControl(java.lang.String controlOID)
throws javax.naming.NamingException
controlOID - An identifier specifying which control to use.
For example: LDAPNamespace.MANAGE_DSA_IT_CONTROLjavax.naming.NamingException - if an error occurred setting the control or if the
controlOID is unknown.boolean clearControl(java.lang.String controlOID)
throws javax.naming.NamingException
controlOID - An identifier specifying which control to set.javax.naming.NamingException - if an error occurred clearing the controlboolean isControlSet(java.lang.String controlOID)
throws javax.naming.NamingException
controlOID - An identifier specifying which control test.javax.naming.NamingException - if an error occurred clearing the controljava.util.ArrayList getSupportedExtensions()
java.util.ArrayList getSupportedControls()
java.lang.String[] getNamingContexts()
java.lang.String sendXMLRequest(java.lang.String servicePath,
java.lang.String xmlRequest)
throws javax.naming.NamingException
servicePath - a String containing the desired service.xmlRequest - the XML request documentjavax.naming.NamingExceptionValueList[] getNVDSEffectivePrivileges(ObjectEntry obj, boolean allLegalAttrs) throws SPIException
obj - The object.allLegalAttrs - If true, return rights for all legal attributes specified by
the attribute definition, plus entry rights. If false, return entry rights only.SPIExceptionValueList[] getNVDSEffectivePrivileges(ObjectEntry obj, java.lang.String[] attrs, java.lang.String[] classes) throws SPIException
obj - The object.attrs - a String array containing the desired attributes for which rights are
to be returned. May be null.classes - a String array containing the desired classes for which rights are
to be returned. May be null.SPIExceptionjava.lang.String getProviderURL()
throws javax.naming.NamingException
javax.naming.NamingException
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.