public class FromGroupSearchLDAPGroupMembershipStrategy extends LDAPGroupMembershipStrategy
Modifier and Type | Class and Description |
---|---|
static class |
FromGroupSearchLDAPGroupMembershipStrategy.DescriptorImpl |
Constructor and Description |
---|
FromGroupSearchLDAPGroupMembershipStrategy(String filter) |
Modifier and Type | Method and Description |
---|---|
String |
getFilter() |
org.acegisecurity.GrantedAuthority[] |
getGrantedAuthorities(org.acegisecurity.userdetails.ldap.LdapUserDetails ldapUser)
Returns the
GrantedAuthority s that the specified user belongs to. |
void |
setAuthoritiesPopulator(org.acegisecurity.providers.ldap.LdapAuthoritiesPopulator authoritiesPopulator)
Override this method if you want to change the configuration of the
LdapAuthoritiesPopulator . |
getAuthoritiesPopulator
@DataBoundConstructor public FromGroupSearchLDAPGroupMembershipStrategy(String filter)
public String getFilter()
public void setAuthoritiesPopulator(org.acegisecurity.providers.ldap.LdapAuthoritiesPopulator authoritiesPopulator)
LDAPGroupMembershipStrategy
LdapAuthoritiesPopulator
.setAuthoritiesPopulator
in class LDAPGroupMembershipStrategy
authoritiesPopulator
- the LdapAuthoritiesPopulator
to use (and abuse).public org.acegisecurity.GrantedAuthority[] getGrantedAuthorities(org.acegisecurity.userdetails.ldap.LdapUserDetails ldapUser)
LDAPGroupMembershipStrategy
GrantedAuthority
s that the specified user belongs to.getGrantedAuthorities
in class LDAPGroupMembershipStrategy
ldapUser
- the specified user.GrantedAuthority
s that the specified user belongs to.Copyright © 2016. All rights reserved.