public class ActiveDirectoryConnectionImpl extends JNDIConnectionImpl
connectionData, connectionManager, LDAP_RETRY_ERROR, ldapConnection, maxRetries| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(javax.naming.directory.DirContext ctx,
java.lang.String argRDN,
java.lang.String oldPassword,
java.lang.String newPassword)
changes the user password
CAUTION: In order to change/modify password attr.
|
boolean |
checkPassword(java.lang.String searchbase,
java.lang.String login,
char[] plainPassword)
content of 'searchbase' will be filtered by the configured implementation of LDAPInputFilter (@see
ldap-spring.xml)
|
protected byte[] |
parseControls(javax.naming.ldap.Control[] controls) |
protected java.util.Collection<LDAPGenericObject> |
rawSearchSubTree_UsingRangeRetrieval(java.lang.String searchbase,
java.lang.String filter,
int limit,
int timeout,
java.lang.String[] returnAttributes) |
protected java.util.Collection<LDAPGenericObject> |
rawSearchSubTree(java.lang.String searchbase,
java.lang.String filter,
int limit,
int timeout,
java.lang.String[] returnAttributes)
TODO parameter searchscope && followReferral !!!
|
appendRootDN, close, encodePassword, getConnectionManager, getCurrentInitialLdapContext, getNameFromSearchResult, getNameFromString, list, rawSearchBaseEntry, rawSearchOneLevel, read, read, retryConnection, searchBaseEntry, searchBaseEntry, searchOneLevel, searchOneLevel, searchSubTree, searchSubTree, sendingEmptyBaseDNsearchQueries, wipePasswordprotected java.util.Collection<LDAPGenericObject> rawSearchSubTree(java.lang.String searchbase, java.lang.String filter, int limit, int timeout, java.lang.String[] returnAttributes) throws LDAPOperationException, LDAPUnavailableException, javax.naming.NamingException
JNDIConnectionImplrawSearchSubTree in class JNDIConnectionImplsearchbase - content of 'searchbase' will be filtered by the configured implementation of LDAPInputFilter (@see
ldap-spring.xml)LDAPOperationExceptionLDAPUnavailableExceptionjavax.naming.NamingExceptionprotected java.util.Collection<LDAPGenericObject> rawSearchSubTree_UsingRangeRetrieval(java.lang.String searchbase, java.lang.String filter, int limit, int timeout, java.lang.String[] returnAttributes) throws LDAPOperationException, LDAPUnavailableException, javax.naming.NamingException
searchbase - content of 'searchbase' will be filtered by the configured implementation of LDAPInputFilter (@see ldap-spring.xml)filter - limit - timeout - returnAttributes - LDAPOperationExceptionLDAPUnavailableExceptionjavax.naming.NamingExceptionpublic boolean checkPassword(java.lang.String searchbase,
java.lang.String login,
char[] plainPassword)
JNDIConnectionImplcheckPassword in interface LDAPConnectioncheckPassword in class JNDIConnectionImplprotected byte[] parseControls(javax.naming.ldap.Control[] controls)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void changePassword(javax.naming.directory.DirContext ctx,
java.lang.String argRDN,
java.lang.String oldPassword,
java.lang.String newPassword)
throws javax.naming.NamingException
changePassword in interface LDAPConnectionchangePassword in class JNDIConnectionImplctx - directory contextargRDN - the name of the object whose attributes will be updatedoldPassword - newPassword - javax.naming.NamingExceptionCopyright © 2018 SAP SE. All Rights Reserved.