@Factory
public class LdapAuthenticationProviderFactory
extends java.lang.Object
Constructor and Description |
---|
LdapAuthenticationProviderFactory() |
Modifier and Type | Method and Description |
---|---|
LdapAuthenticationProvider |
ldapAuthenticationProvider(LdapConfiguration configuration,
LdapSearchService ldapSearchService,
ContextBuilder contextBuilder,
ContextAuthenticationMapper contextAuthenticationMapper,
LdapGroupProcessor ldapGroupProcessor,
java.util.concurrent.ExecutorService executorService) |
@EachBean(value=LdapConfiguration.class) @Requires(condition=LdapEnabledCondition.class) public LdapAuthenticationProvider ldapAuthenticationProvider(@Parameter LdapConfiguration configuration, LdapSearchService ldapSearchService, ContextBuilder contextBuilder, ContextAuthenticationMapper contextAuthenticationMapper, LdapGroupProcessor ldapGroupProcessor, @Named(value="io") java.util.concurrent.ExecutorService executorService)
configuration
- The configuration to use to authenticateldapSearchService
- The search servicecontextBuilder
- The context buildercontextAuthenticationMapper
- The authentication mapperldapGroupProcessor
- The group processorexecutorService
- Executor ServiceLdapAuthenticationProvider
if the corresponding LdapConfiguration
is enabled