public abstract class LDAPTemplateWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected org.springframework.ldap.core.support.DirContextAuthenticationStrategy |
authStrategy |
protected String |
baseDN |
protected org.springframework.ldap.core.support.LdapContextSource |
contextSource |
protected String |
domain |
protected boolean |
explicitAuth |
protected org.springframework.ldap.core.LdapTemplate |
ldapTemplate |
protected String |
password |
protected String |
userName |
Constructor and Description |
---|
LDAPTemplateWrapper(org.springframework.ldap.core.support.LdapContextSource contextSource,
String userName,
String password,
String domain) |
Modifier and Type | Method and Description |
---|---|
abstract void |
adjustUserName(LdapProviderType ldapProviderType) |
protected abstract org.springframework.ldap.core.support.DirContextAuthenticationStrategy |
buildContextAuthenticationStategy() |
void |
init(URI ldapURI,
boolean setBaseDN,
boolean explicitAuth,
String explicitBaseDN,
LdapProviderType ldapProviderType,
long timeout) |
protected org.springframework.ldap.core.NameClassPairCallbackHandler |
pagedSearch(String baseDN,
String filter,
String displayFilter,
SearchControls searchControls,
org.springframework.ldap.core.NameClassPairCallbackHandler handler) |
abstract void |
search(String baseDN,
String filter,
String displayFilter,
SearchControls searchControls,
org.springframework.ldap.core.NameClassPairCallbackHandler handler) |
protected abstract void |
setCredentialsOnContext() |
void |
setExplicitAuth(boolean explicitAuth) |
void |
setIgnorePartialResultException(boolean value) |
void |
useAuthenticationStrategy() |
protected org.springframework.ldap.core.LdapTemplate ldapTemplate
protected org.springframework.ldap.core.support.LdapContextSource contextSource
protected String password
protected String userName
protected org.springframework.ldap.core.support.DirContextAuthenticationStrategy authStrategy
protected String baseDN
protected String domain
protected boolean explicitAuth
public abstract void search(String baseDN, String filter, String displayFilter, SearchControls searchControls, org.springframework.ldap.core.NameClassPairCallbackHandler handler)
public void init(URI ldapURI, boolean setBaseDN, boolean explicitAuth, String explicitBaseDN, LdapProviderType ldapProviderType, long timeout)
protected abstract void setCredentialsOnContext()
public abstract void adjustUserName(LdapProviderType ldapProviderType)
public void setIgnorePartialResultException(boolean value)
public void useAuthenticationStrategy() throws EngineDirectoryServiceException
EngineDirectoryServiceException
protected abstract org.springframework.ldap.core.support.DirContextAuthenticationStrategy buildContextAuthenticationStategy()
public void setExplicitAuth(boolean explicitAuth)
protected org.springframework.ldap.core.NameClassPairCallbackHandler pagedSearch(String baseDN, String filter, String displayFilter, SearchControls searchControls, org.springframework.ldap.core.NameClassPairCallbackHandler handler)
Copyright © 2012. All Rights Reserved.