Package io.jmix.ldap
Class LdapActiveDirectorySecurityConfiguration
java.lang.Object
io.jmix.ldap.LdapActiveDirectorySecurityConfiguration
- Direct Known Subclasses:
LdapAutoConfiguration.DefaultLdapActiveDirectorySecurityConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected JmixLdapGrantedAuthoritiesMapper
protected LdapProperties
protected org.springframework.security.ldap.userdetails.UserDetailsContextMapper
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.authentication.AuthenticationProvider
org.springframework.security.authentication.DefaultAuthenticationEventPublisher
authenticationEventPublisher
(org.springframework.context.ApplicationEventPublisher publisher) org.springframework.security.authentication.AuthenticationManager
ldapAuthenticationManager
(StandardAuthenticationProvidersProducer providersProducer, org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher) void
org.springframework.security.web.SecurityFilterChain
securityFilterChain
(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)
-