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 Summary
Modifier and TypeFieldDescriptionprotected JmixLdapGrantedAuthoritiesMapper
protected LdapProperties
protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper
protected StandardAuthenticationProvidersProducer
protected org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionActiveDirectoryAuthenticationManagerSupplier
(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, LdapProperties ldapProperties, org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper, JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.authentication.AuthenticationProvider
org.springframework.security.authentication.AuthenticationManager
Returns a global AuthenticationManager instance provided by an add-on.
-
Field Details
-
providersProducer
-
publisher
protected org.springframework.context.ApplicationEventPublisher publisher -
ldapProperties
-
ldapUserDetailsContextMapper
protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper -
grantedAuthoritiesMapper
-
-
Constructor Details
-
ActiveDirectoryAuthenticationManagerSupplier
public ActiveDirectoryAuthenticationManagerSupplier(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, LdapProperties ldapProperties, org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper, JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper)
-
-
Method Details
-
getAuthenticationManager
public org.springframework.security.authentication.AuthenticationManager getAuthenticationManager()Description copied from interface:AddonAuthenticationManagerSupplier
Returns a global AuthenticationManager instance provided by an add-on.- Specified by:
getAuthenticationManager
in interfaceAddonAuthenticationManagerSupplier
- Returns:
- authentication manager
-
activeDirectoryLdapAuthenticationProvider
protected org.springframework.security.authentication.AuthenticationProvider activeDirectoryLdapAuthenticationProvider()
-