@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) |
@EachBean(value=LdapConfiguration.class) public LdapAuthenticationProvider ldapAuthenticationProvider(@Parameter LdapConfiguration configuration, LdapSearchService ldapSearchService, ContextBuilder contextBuilder, ContextAuthenticationMapper contextAuthenticationMapper, LdapGroupProcessor ldapGroupProcessor)
configuration
- The configuration to use to authenticateldapSearchService
- The search servicecontextBuilder
- The context buildercontextAuthenticationMapper
- The authentication mapperldapGroupProcessor
- The group processorLdapAuthenticationProvider
if the corresponding LdapConfiguration
is enabled