@Deprecated public class BroadleafActiveDirectoryUserDetailsMapper extends org.springframework.security.ldap.userdetails.LdapUserDetailsMapper
Modifier and Type | Field and Description |
---|---|
protected boolean |
additiveRoleNameSubstitutions
Deprecated.
|
protected Map<String,String[]> |
roleNameSubstitutions
Deprecated.
|
protected boolean |
useEmailAddressAsUsername
Deprecated.
|
Constructor and Description |
---|
BroadleafActiveDirectoryUserDetailsMapper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.userdetails.UserDetails |
mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx,
String username,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
Deprecated.
|
void |
setAdditiveRoleNameSubstitutions(boolean additiveRoleNameSubstitutions)
Deprecated.
This should be used in conjunction with the roleNameSubstitutions property.
|
void |
setRoleNameSubstitutions(Map<String,String[]> roleNameSubstitutions)
Deprecated.
This allows you to declaratively set a map containing values that will substitute role names from LDAP to Broadleaf roles names in cases that they might be different.
|
void |
setUseEmailAddressAsUsername(boolean value)
Deprecated.
The LDAP server may contain a user name other than an email address.
|
protected boolean useEmailAddressAsUsername
protected boolean additiveRoleNameSubstitutions
public BroadleafActiveDirectoryUserDetailsMapper()
public org.springframework.security.core.userdetails.UserDetails mapUserFromContext(org.springframework.ldap.core.DirContextOperations ctx, String username, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
mapUserFromContext
in interface org.springframework.security.ldap.userdetails.UserDetailsContextMapper
mapUserFromContext
in class org.springframework.security.ldap.userdetails.LdapUserDetailsMapper
public void setUseEmailAddressAsUsername(boolean value)
value
- public void setRoleNameSubstitutions(Map<String,String[]> roleNameSubstitutions)
roleNameSubstitutions
- public void setAdditiveRoleNameSubstitutions(boolean additiveRoleNameSubstitutions)
additiveRoleNameSubstitutions
- Copyright © 2022. All rights reserved.