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
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
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
-
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)
-