Package io.jmix.ldap

Class LdapActiveDirectorySecurityConfiguration

java.lang.Object
io.jmix.ldap.LdapActiveDirectorySecurityConfiguration
Direct Known Subclasses:
LdapAutoConfiguration.DefaultLdapActiveDirectorySecurityConfiguration

public class LdapActiveDirectorySecurityConfiguration extends Object
  • Field Details

    • SECURITY_CONFIGURER_QUALIFIER

      public static final String SECURITY_CONFIGURER_QUALIFIER
      See Also:
    • ldapProperties

      @Autowired protected LdapProperties ldapProperties
    • ldapUserDetailsContextMapper

      @Autowired protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper
    • grantedAuthoritiesMapper

      @Autowired protected JmixLdapGrantedAuthoritiesMapper grantedAuthoritiesMapper
  • Constructor Details

    • LdapActiveDirectorySecurityConfiguration

      public LdapActiveDirectorySecurityConfiguration()
  • 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)
    • activeDirectoryLdapAuthenticationProvider

      protected org.springframework.security.authentication.AuthenticationProvider activeDirectoryLdapAuthenticationProvider()
    • onPreAuthenticationCheckEvent

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