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
FieldsModifier and TypeFieldDescriptionprotected JmixLdapGrantedAuthoritiesMapperprotected org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulatorprotected org.springframework.ldap.core.support.LdapContextSourceprotected LdapPropertiesprotected org.springframework.security.ldap.userdetails.UserDetailsContextMapperprotected StandardAuthenticationProvidersProducerprotected org.springframework.context.ApplicationEventPublisher -
Constructor Summary
ConstructorsConstructorDescriptionLdapAuthenticationManagerSupplier(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.AuthenticationManagerReturns 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:AddonAuthenticationManagerSupplierReturns a global AuthenticationManager instance provided by an add-on.- Specified by:
getAuthenticationManagerin interfaceAddonAuthenticationManagerSupplier- Returns:
- authentication manager
-