Package io.jmix.ldap.authentication
Class LdapAuthenticationManagerSupplier
java.lang.Object
io.jmix.ldap.authentication.LdapAuthenticationManagerSupplier
- All Implemented Interfaces:
AddonAuthenticationManagerSupplier
public class LdapAuthenticationManagerSupplier
extends Object
implements AddonAuthenticationManagerSupplier
-
Field Summary
Modifier and TypeFieldDescriptionprotected JmixLdapGrantedAuthoritiesMapper
protected org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
protected org.springframework.ldap.core.support.LdapContextSource
protected LdapProperties
protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper
protected StandardAuthenticationProvidersProducer
protected org.springframework.context.ApplicationEventPublisher
-
Constructor Summary
ConstructorDescriptionLdapAuthenticationManagerSupplier
(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, LdapProperties ldapProperties, org.springframework.ldap.core.support.LdapContextSource ldapContextSource, org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper, JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper, org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator ldapAuthoritiesPopulator) -
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
ldapContextSource
protected org.springframework.ldap.core.support.LdapContextSource ldapContextSource -
ldapUserDetailsContextMapper
protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper -
grantedAuthoritiesMapper
-
ldapAuthoritiesPopulator
protected org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator ldapAuthoritiesPopulator
-
-
Constructor Details
-
LdapAuthenticationManagerSupplier
public LdapAuthenticationManagerSupplier(StandardAuthenticationProvidersProducer providersProducer, org.springframework.context.ApplicationEventPublisher publisher, LdapProperties ldapProperties, org.springframework.ldap.core.support.LdapContextSource ldapContextSource, org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper, JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper, org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator ldapAuthoritiesPopulator)
-
-
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
-