public class LdapServiceImpl extends java.lang.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.crypto.password.PasswordEncoder passwordEncoder)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getAllApplicationSecurity() |
protected org.springframework.ldap.control.PagedResult |
getAllGroups(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate) |
java.util.List<java.lang.String> |
getAllLdapUsers() |
protected org.springframework.ldap.control.PagedResult |
getAllUsers(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate) |
IkasanPrincipal |
getApplicationSecurity(java.lang.String userName) |
protected AuthenticationMethod |
getAuthenticationMethod() |
protected org.springframework.security.ldap.DefaultSpringSecurityContextSource |
getContextSource() |
protected LdapServiceImpl.LdapUser |
getLdapUser(java.lang.String userName) |
void |
synchronize(AuthenticationMethod authenticationMethod) |
public LdapServiceImpl(SecurityDao securityDao, UserDao userDao, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
securityDao - userDao - passwordEncoder - protected LdapServiceImpl.LdapUser getLdapUser(java.lang.String userName) throws LdapServiceException
LdapServiceExceptionpublic java.util.List<java.lang.String> getAllLdapUsers()
throws LdapServiceException
LdapServiceExceptionprotected org.springframework.ldap.control.PagedResult getAllUsers(org.springframework.ldap.control.PagedResultsCookie cookie,
org.springframework.ldap.core.LdapTemplate ldapTemplate)
public java.util.List<java.lang.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(java.lang.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-2019 Ikasan. All Rights Reserved.