Class AbstractUserDetailsService
- java.lang.Object
-
- org.bremersee.security.core.userdetails.AbstractUserDetailsService
-
- Direct Known Subclasses:
LdaptiveUserDetailsService,ReactiveLdaptiveUserDetailsService
public abstract class AbstractUserDetailsService extends Object
The abstract user details service.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description AbstractUserDetailsService(String userBaseDn, String userFindOneFilter, org.ldaptive.SearchScope userFindOneSearchScope, String userAccountControlAttributeName, List<String> authorities, String authorityAttributeName, boolean authorityDn, Map<String,String> authorityMap, String authorityPrefix)Instantiates a new abstract user details service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LdaptiveEntryMapper<org.springframework.security.core.userdetails.UserDetails>getUserDetailsLdapMapper(String userName)Gets user details mapper.protected Set<String>returnAttributes()Return attributes.
-
-
-
Constructor Detail
-
AbstractUserDetailsService
public AbstractUserDetailsService(String userBaseDn, String userFindOneFilter, org.ldaptive.SearchScope userFindOneSearchScope, String userAccountControlAttributeName, List<String> authorities, String authorityAttributeName, boolean authorityDn, Map<String,String> authorityMap, String authorityPrefix)
Instantiates a new abstract user details service.- Parameters:
userBaseDn- the user base dnuserFindOneFilter- the user find one filteruserFindOneSearchScope- the user find one search scopeuserAccountControlAttributeName- the user account control attribute nameauthorities- the authoritiesauthorityAttributeName- the authority attribute nameauthorityDn- the authority dnauthorityMap- the authority mapauthorityPrefix- the authority prefix
-
-
Method Detail
-
returnAttributes
protected Set<String> returnAttributes()
Return attributes.- Returns:
- the attributes
-
getUserDetailsLdapMapper
protected LdaptiveEntryMapper<org.springframework.security.core.userdetails.UserDetails> getUserDetailsLdapMapper(String userName)
Gets user details mapper.- Parameters:
userName- the user name- Returns:
- the user details mapper
-
-