Class 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 Detail

      • ReactiveLdaptiveUserDetailsService

        public ReactiveLdaptiveUserDetailsService​(org.bremersee.data.ldaptive.reactive.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 operations
        userBaseDn - the user base dn
        userFindOneFilter - the user find one filter
        userFindOneSearchScope - the user find one search scope
        userAccountControlAttributeName - the user account control attribute name
        authorities - the authorities
        authorityAttributeName - the authority attribute name
        authorityDn - the authority dn
        authorityMap - the authority map
        authorityPrefix - the authority prefix
    • Method Detail

      • findByUsername

        public reactor.core.publisher.Mono<org.springframework.security.core.userdetails.UserDetails> findByUsername​(String userName)
        Specified by:
        findByUsername in interface org.springframework.security.core.userdetails.ReactiveUserDetailsService