Package io.jmix.ldap.userdetails
Class ActiveDirectoryLdapAuthoritiesPopulator
java.lang.Object
io.jmix.ldap.userdetails.ActiveDirectoryLdapAuthoritiesPopulator
- All Implemented Interfaces:
org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
public class ActiveDirectoryLdapAuthoritiesPopulator
extends Object
implements org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.springframework.security.core.GrantedAuthority>
getGrantedAuthorities
(org.springframework.ldap.core.DirContextOperations userData, String username) void
setUserAdditionalRoleProvider
(LdapUserAdditionalRoleProvider ldapUserAdditionalRoleProvider)
-
Field Details
-
ldapUserAdditionalRoleProvider
-
-
Constructor Details
-
ActiveDirectoryLdapAuthoritiesPopulator
public ActiveDirectoryLdapAuthoritiesPopulator()
-
-
Method Details
-
setUserAdditionalRoleProvider
@Autowired(required=false) public void setUserAdditionalRoleProvider(LdapUserAdditionalRoleProvider ldapUserAdditionalRoleProvider) -
getGrantedAuthorities
public Collection<? extends org.springframework.security.core.GrantedAuthority> getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, String username) - Specified by:
getGrantedAuthorities
in interfaceorg.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
-