Class LdaptiveUserDetailsAutoConfiguration

    • Constructor Detail

      • LdaptiveUserDetailsAutoConfiguration

        public LdaptiveUserDetailsAutoConfiguration​(LdaptiveProperties properties,
                                                    org.springframework.beans.factory.ObjectProvider<LdaptiveOperations> ldaptiveOperationsProvider)
        Instantiates a new ldaptive user details auto configuration.
        Parameters:
        properties - the properties
        ldaptiveOperationsProvider - the ldaptive operations provider
    • Method Detail

      • init

        @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class)
        public void init()
        Init.
      • ldaptiveUserDetailsService

        @ConditionalOnWebApplication(type=SERVLET)
        @ConditionalOnMissingBean(org.springframework.security.core.userdetails.UserDetailsService.class)
        @Bean
        public LdaptiveUserDetailsService ldaptiveUserDetailsService()
        Ldaptive user details service.
        Returns:
        the ldaptive user details service
      • reactiveLdaptiveUserDetailsService

        @ConditionalOnWebApplication(type=REACTIVE)
        @ConditionalOnMissingBean(org.springframework.security.core.userdetails.ReactiveUserDetailsService.class)
        @Bean
        public ReactiveLdaptiveUserDetailsService reactiveLdaptiveUserDetailsService​(org.springframework.beans.factory.ObjectProvider<ReactiveLdaptiveOperations> reactiveLdaptiveOperationsProvider)
        Reactive ldaptive user details service.
        Parameters:
        reactiveLdaptiveOperationsProvider - the reactive ldaptive operations provider
        Returns:
        the reactive ldaptive user details service
      • passwordEncoder

        @ConditionalOnMissingBean(org.springframework.security.crypto.password.PasswordEncoder.class)
        @Bean
        public LdaptivePasswordMatcher passwordEncoder()
        Ldaptive password matcher.
        Returns:
        the ldaptive password matcher