Package io.jmix.ldap
Class LdapActiveDirectorySecurityConfiguration
java.lang.Object
io.jmix.ldap.LdapActiveDirectorySecurityConfiguration
- Direct Known Subclasses:
 LdapAutoConfiguration.DefaultLdapActiveDirectorySecurityConfiguration
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JmixLdapGrantedAuthoritiesMapperprotected LdapPropertiesprotected org.springframework.security.ldap.userdetails.UserDetailsContextMapperstatic final String - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.authentication.AuthenticationProviderorg.springframework.security.authentication.DefaultAuthenticationEventPublisherauthenticationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) org.springframework.security.authentication.AuthenticationManagerldapAuthenticationManager(StandardAuthenticationProvidersProducer providersProducer, org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher) voidorg.springframework.security.web.SecurityFilterChainsecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)  
- 
Field Details
- 
SECURITY_CONFIGURER_QUALIFIER
- See Also:
 
 - 
ldapProperties
 - 
ldapUserDetailsContextMapper
@Autowired protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper ldapUserDetailsContextMapper - 
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)  
 -