public class ActiveDirectoryConnectionImpl extends JNDIConnectionImpl
connectionData, connectionManager, LDAP_RETRY_ERROR, ldapConnection, maxRetries| Modifier and Type | Method and Description |
|---|---|
void |
changePassword(DirContext ctx,
String argRDN,
String oldPassword,
String newPassword)
changes the user password
CAUTION: In order to change/modify password attr.
|
boolean |
checkPassword(String searchbase,
String login,
char[] plainPassword)
content of 'searchbase' will be filtered by the configured implementation of LDAPInputFilter (@see
ldap-spring.xml)
|
protected byte[] |
parseControls(Control[] controls) |
protected Collection<LDAPGenericObject> |
rawSearchSubTree_UsingRangeRetrieval(String searchbase,
String filter,
int limit,
int timeout,
String[] returnAttributes) |
protected Collection<LDAPGenericObject> |
rawSearchSubTree(String searchbase,
String filter,
int limit,
int timeout,
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 Collection<LDAPGenericObject> rawSearchSubTree(String searchbase, String filter, int limit, int timeout, String[] returnAttributes) throws LDAPOperationException, LDAPUnavailableException, NamingException
JNDIConnectionImplrawSearchSubTree in class JNDIConnectionImplsearchbase - content of 'searchbase' will be filtered by the configured implementation of LDAPInputFilter (@see
ldap-spring.xml)LDAPOperationExceptionLDAPUnavailableExceptionNamingExceptionprotected Collection<LDAPGenericObject> rawSearchSubTree_UsingRangeRetrieval(String searchbase, String filter, int limit, int timeout, String[] returnAttributes) throws LDAPOperationException, LDAPUnavailableException, NamingException
searchbase - content of 'searchbase' will be filtered by the configured implementation of LDAPInputFilter (@see ldap-spring.xml)filter - limit - timeout - returnAttributes - LDAPOperationExceptionLDAPUnavailableExceptionNamingExceptionpublic boolean checkPassword(String searchbase, String login, char[] plainPassword)
JNDIConnectionImplcheckPassword in interface LDAPConnectioncheckPassword in class JNDIConnectionImplprotected byte[] parseControls(Control[] controls) throws NamingException
NamingExceptionpublic void changePassword(DirContext ctx, String argRDN, String oldPassword, String newPassword) throws NamingException
changePassword in interface LDAPConnectionchangePassword in class JNDIConnectionImplctx - directory contextargRDN - the name of the object whose attributes will be updatedoldPassword - newPassword - NamingExceptionCopyright © 2017 SAP SE. All Rights Reserved.