Package io.jmix.ldap
Class LdapSecurityConfiguration
java.lang.Object
io.jmix.ldap.LdapSecurityConfiguration
- Direct Known Subclasses:
LdapAutoConfiguration.DefaultLdapSecurityConfiguration
-
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionldapAuthenticationManagerSupplier
(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) void
-
Field Details
-
ldapProperties
-
ldapContextSource
@Autowired protected org.springframework.ldap.core.support.LdapContextSource ldapContextSource -
ldapUserDetailsContextMapper
@Autowired protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper -
ldapAuthoritiesPopulator
@Autowired protected org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator ldapAuthoritiesPopulator -
grantedAuthoritiesMapper
-
-
Constructor Details
-
LdapSecurityConfiguration
public LdapSecurityConfiguration()
-
-
Method Details
-
ldapAuthenticationManagerSupplier
@Bean("ldap_LdapAuthenticationManagerSupplier") @Order(100) public AddonAuthenticationManagerSupplier 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) -
onPreAuthenticationCheckEvent
@EventListener @Order(990) public void onPreAuthenticationCheckEvent(PreAuthenticationCheckEvent event)
-