Package io.jmix.ldap

Class LdapSecurityConfiguration

java.lang.Object
io.jmix.ldap.LdapSecurityConfiguration
Direct Known Subclasses:
LdapAutoConfiguration.DefaultLdapSecurityConfiguration

public class LdapSecurityConfiguration extends Object
  • Field Details

    • SECURITY_CONFIGURER_QUALIFIER

      public static final String SECURITY_CONFIGURER_QUALIFIER
      See Also:
    • ldapProperties

      @Autowired protected LdapProperties 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

      @Autowired protected JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper
  • Constructor Details

    • LdapSecurityConfiguration

      public LdapSecurityConfiguration()
  • Method Details

    • securityFilterChain

      @Bean("ldap_SecurityFilterChain") @Order(400) public org.springframework.security.web.SecurityFilterChain securityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception
    • ldapAuthenticationManager

      @Bean("ldap_AuthenticationManager") public org.springframework.security.authentication.AuthenticationManager ldapAuthenticationManager(StandardAuthenticationProvidersProducer providersProducer, org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher)
    • authenticationEventPublisher

      @Bean("ldap_AuthenticationEventPublisher") public org.springframework.security.authentication.DefaultAuthenticationEventPublisher authenticationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
    • onPreAuthenticationCheckEvent

      @EventListener @Order(990) public void onPreAuthenticationCheckEvent(PreAuthenticationCheckEvent event)