public class SimpleLdapTemplateWrapper extends LDAPTemplateWrapper
authStrategy, baseDN, contextSource, domain, explicitAuth, ldapTemplate, password, userName
Constructor and Description |
---|
SimpleLdapTemplateWrapper(org.springframework.ldap.core.support.LdapContextSource contextSource,
String userName,
String password,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
adjustUserName(LdapProviderType ldapProviderType) |
protected org.springframework.ldap.core.support.DirContextAuthenticationStrategy |
buildContextAuthenticationStategy() |
void |
search(String baseDN,
String filter,
String displayFilter,
SearchControls searchControls,
org.springframework.ldap.core.NameClassPairCallbackHandler handler) |
protected void |
setCredentialsOnContext() |
init, pagedSearch, setExplicitAuth, setIgnorePartialResultException, useAuthenticationStrategy
public void search(String baseDN, String filter, String displayFilter, SearchControls searchControls, org.springframework.ldap.core.NameClassPairCallbackHandler handler)
search
in class LDAPTemplateWrapper
protected org.springframework.ldap.core.support.DirContextAuthenticationStrategy buildContextAuthenticationStategy()
buildContextAuthenticationStategy
in class LDAPTemplateWrapper
public void adjustUserName(LdapProviderType ldapProviderType)
adjustUserName
in class LDAPTemplateWrapper
protected void setCredentialsOnContext()
setCredentialsOnContext
in class LDAPTemplateWrapper
Copyright © 2012. All Rights Reserved.