Class ReactiveLdaptiveUserDetailsService
- java.lang.Object
-
- org.bremersee.security.core.userdetails.AbstractUserDetailsService
-
- org.bremersee.security.core.userdetails.ReactiveLdaptiveUserDetailsService
-
- All Implemented Interfaces:
org.springframework.security.core.userdetails.ReactiveUserDetailsService
public class ReactiveLdaptiveUserDetailsService extends AbstractUserDetailsService implements org.springframework.security.core.userdetails.ReactiveUserDetailsService
The reactive ldaptive user details service.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description ReactiveLdaptiveUserDetailsService(ReactiveLdaptiveOperations ldaptiveOperations, 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 reactive ldaptive user details service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<org.springframework.security.core.userdetails.UserDetails>
findByUsername(String userName)
-
Methods inherited from class org.bremersee.security.core.userdetails.AbstractUserDetailsService
getUserDetailsLdapMapper, returnAttributes
-
-
-
-
Constructor Detail
-
ReactiveLdaptiveUserDetailsService
public ReactiveLdaptiveUserDetailsService(ReactiveLdaptiveOperations ldaptiveOperations, 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 reactive ldaptive user details service.- Parameters:
ldaptiveOperations
- the ldaptive operationsuserBaseDn
- 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
-
findByUsername
public reactor.core.publisher.Mono<org.springframework.security.core.userdetails.UserDetails> findByUsername(String userName)
- Specified by:
findByUsername
in interfaceorg.springframework.security.core.userdetails.ReactiveUserDetailsService
-
-