public class LdapServiceImpl extends Object implements LdapService
| Modifier and Type | Class and Description |
|---|---|
protected class |
LdapServiceImpl.ApplicationSecurityGroupAttributeMapper |
protected class |
LdapServiceImpl.ApplicationUserAttributeMapper |
protected class |
LdapServiceImpl.LdapUser |
| Constructor and Description |
|---|
LdapServiceImpl(SecurityDao securityDao,
UserDao userDao,
org.springframework.security.authentication.encoding.PasswordEncoder passwordEncoder) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllApplicationSecurity() |
protected org.springframework.ldap.control.PagedResult |
getAllGroups(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate) |
List<String> |
getAllLdapUsers() |
protected org.springframework.ldap.control.PagedResult |
getAllUsers(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate) |
IkasanPrincipal |
getApplicationSecurity(String userName) |
protected AuthenticationMethod |
getAuthenticationMethod() |
protected org.springframework.security.ldap.DefaultSpringSecurityContextSource |
getContextSource() |
protected LdapServiceImpl.LdapUser |
getLdapUser(String userName) |
void |
synchronize(AuthenticationMethod authenticationMethod) |
public LdapServiceImpl(SecurityDao securityDao, UserDao userDao, org.springframework.security.authentication.encoding.PasswordEncoder passwordEncoder)
securityService - userService - protected LdapServiceImpl.LdapUser getLdapUser(String userName) throws LdapServiceException
LdapServiceExceptionpublic List<String> getAllLdapUsers() throws LdapServiceException
LdapServiceExceptionprotected org.springframework.ldap.control.PagedResult getAllUsers(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate)
public List<String> getAllApplicationSecurity() throws LdapServiceException
LdapServiceExceptionprotected org.springframework.ldap.control.PagedResult getAllGroups(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate)
public IkasanPrincipal getApplicationSecurity(String userName) throws LdapServiceException
LdapServiceExceptionpublic void synchronize(AuthenticationMethod authenticationMethod) throws LdapServiceException
synchronize in interface LdapServiceLdapServiceExceptionprotected AuthenticationMethod getAuthenticationMethod() throws LdapServiceException
LdapServiceExceptionprotected org.springframework.security.ldap.DefaultSpringSecurityContextSource getContextSource()
throws LdapServiceException
LdapServiceExceptionCopyright © 2007-2016 Ikasan. All Rights Reserved.