public class LdapGroupDetailsService extends Object implements GroupDetailsService
| Modifier and Type | Field and Description |
|---|---|
protected String |
groupAttributeDisplayName |
protected String |
groupAttributeGroupId |
protected String |
groupAttributeMember |
protected String |
groupSearchBase |
protected String |
groupSearchFilter |
protected boolean |
groupSearchSubtree |
| Constructor and Description |
|---|
LdapGroupDetailsService() |
| Modifier and Type | Method and Description |
|---|---|
GroupDetails |
getGroupDetailsByGroupDN(String groupDN) |
Set<String> |
getGroupIdsByUserDN(String userDN) |
protected Iterable<SearchResult> |
searchGroup(DirContext ctx,
String filter,
String[] attrs) |
void |
setGroupAttributeDisplayName(String groupAttributeDisplayName) |
void |
setGroupAttributeGroupId(String groupAttributeGroupId) |
void |
setGroupAttributeMember(String groupAttributeMember) |
void |
setGroupSearchBase(String groupSearchBase) |
void |
setGroupSearchFilter(String groupSearchFilter) |
void |
setGroupSearchSubtree(boolean groupSearchSubtree) |
void |
setLdapTemplate(LdapTemplate ldapTemplate) |
protected String groupAttributeDisplayName
protected String groupAttributeGroupId
protected String groupAttributeMember
protected String groupSearchBase
protected String groupSearchFilter
protected boolean groupSearchSubtree
public GroupDetails getGroupDetailsByGroupDN(String groupDN)
getGroupDetailsByGroupDN in interface GroupDetailsServicepublic Set<String> getGroupIdsByUserDN(String userDN)
getGroupIdsByUserDN in interface GroupDetailsServiceprotected Iterable<SearchResult> searchGroup(DirContext ctx, String filter, String[] attrs) throws NamingException
NamingException@Inject public void setGroupAttributeDisplayName(String groupAttributeDisplayName)
@Inject public void setGroupAttributeGroupId(String groupAttributeGroupId)
@Inject public void setGroupAttributeMember(String groupAttributeMember)
@Inject public void setGroupSearchBase(String groupSearchBase)
@Inject public void setGroupSearchFilter(String groupSearchFilter)
public void setGroupSearchSubtree(boolean groupSearchSubtree)
@Inject public void setLdapTemplate(LdapTemplate ldapTemplate)
Copyright © 2010–2021 Vegard IT GmbH, Germany. All rights reserved.