Package io.jmix.ldap.authentication
Class ActiveDirectoryAuthenticationManagerSupplier
java.lang.Object
io.jmix.ldap.authentication.ActiveDirectoryAuthenticationManagerSupplier
- All Implemented Interfaces:
- AddonAuthenticationManagerSupplier
public class ActiveDirectoryAuthenticationManagerSupplier
extends Object
implements AddonAuthenticationManagerSupplier
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected JmixLdapGrantedAuthoritiesMapperprotected LdapPropertiesprotected org.springframework.security.ldap.userdetails.UserDetailsContextMapperprotected StandardAuthenticationProvidersProducerprotected org.springframework.context.ApplicationEventPublisher
- 
Constructor SummaryConstructorsConstructorDescriptionActiveDirectoryAuthenticationManagerSupplier(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, LdapProperties ldapProperties, org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper, JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.authentication.AuthenticationManagerReturns a global AuthenticationManager instance provided by an add-on.
- 
Field Details- 
providersProducer
- 
publisherprotected org.springframework.context.ApplicationEventPublisher publisher
- 
ldapProperties
- 
ldapUserDetailsContextMapperprotected org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper
- 
grantedAuthoritiesMapper
 
- 
- 
Constructor Details- 
ActiveDirectoryAuthenticationManagerSupplierpublic ActiveDirectoryAuthenticationManagerSupplier(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, LdapProperties ldapProperties, org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper, JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper) 
 
- 
- 
Method Details- 
getAuthenticationManagerpublic org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()Description copied from interface:AddonAuthenticationManagerSupplierReturns a global AuthenticationManager instance provided by an add-on.- Specified by:
- getAuthenticationManagerin interface- AddonAuthenticationManagerSupplier
- Returns:
- authentication manager
 
- 
activeDirectoryLdapAuthenticationProviderprotected org.springframework.security.authentication.AuthenticationProvider activeDirectoryLdapAuthenticationProvider()
 
-