public abstract class MolgenisWebAppSecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Constructor and Description |
|---|
MolgenisWebAppSecurityConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.authentication.AnonymousAuthenticationProvider |
anonymousAuthenticationProvider() |
MolgenisAnonymousAuthenticationFilter |
anonymousAuthFilter() |
ApiSessionExpirationFilter |
apiSessionExpirationFilter() |
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint |
authenticationEntryPoint() |
org.springframework.security.authentication.AuthenticationManager |
authenticationManagerBean() |
javax.servlet.Filter |
changePasswordFilter() |
protected void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
protected abstract void |
configureUrlAuthorization(org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry) |
protected abstract List<org.springframework.security.core.GrantedAuthority> |
createAnonymousUserAuthorities() |
javax.servlet.Filter |
googleAuthenticationProcessingFilter() |
com.google.api.client.googleapis.auth.oauth2.GooglePublicKeysManager |
googlePublicKeysManager() |
org.springframework.security.web.session.HttpSessionEventPublisher |
httpSessionEventPublisher() |
org.springframework.security.crypto.password.PasswordEncoder |
passwordEncoder() |
RecoveryAuthenticationProvider |
recoveryAuthenticationProvider() |
org.springframework.security.web.RedirectStrategy |
redirectStrategy() |
protected abstract org.springframework.security.access.hierarchicalroles.RoleHierarchy |
roleHierarchy() |
org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper |
roleHierarchyAuthoritiesMapper() |
org.springframework.security.access.hierarchicalroles.RoleHierarchy |
roleHierarchyBean() |
org.springframework.security.access.vote.RoleVoter |
roleVoter() |
org.springframework.security.authentication.AuthenticationProvider |
runAsAuthenticationProvider() |
javax.servlet.Filter |
tokenAuthenticationFilter() |
org.springframework.security.authentication.AuthenticationProvider |
tokenAuthenticationProvider() |
TokenService |
tokenService() |
TwoFactorAuthenticationFilter |
twoFactorAuthenticationFilter() |
TwoFactorAuthenticationProvider |
twoFactorAuthenticationProvider() |
org.springframework.security.core.userdetails.UserDetailsChecker |
userDetailsChecker() |
protected org.springframework.security.core.userdetails.UserDetailsService |
userDetailsService() |
org.springframework.security.core.userdetails.UserDetailsService |
userDetailsServiceBean() |
authenticationManager, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolverprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterExceptionpublic void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
throws Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.authentication.AuthenticationProvider runAsAuthenticationProvider()
protected abstract void configureUrlAuthorization(org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry)
protected abstract org.springframework.security.access.hierarchicalroles.RoleHierarchy roleHierarchy()
@Bean public MolgenisAnonymousAuthenticationFilter anonymousAuthFilter()
protected abstract List<org.springframework.security.core.GrantedAuthority> createAnonymousUserAuthorities()
@Bean public org.springframework.security.authentication.AnonymousAuthenticationProvider anonymousAuthenticationProvider()
@Bean public TokenService tokenService()
@Bean public org.springframework.security.authentication.AuthenticationProvider tokenAuthenticationProvider()
@Bean public javax.servlet.Filter tokenAuthenticationFilter()
@Bean public com.google.api.client.googleapis.auth.oauth2.GooglePublicKeysManager googlePublicKeysManager()
@Bean
public javax.servlet.Filter googleAuthenticationProcessingFilter()
throws Exception
Exception@Bean public javax.servlet.Filter changePasswordFilter()
@Bean public TwoFactorAuthenticationFilter twoFactorAuthenticationFilter()
@Bean public TwoFactorAuthenticationProvider twoFactorAuthenticationProvider()
@Bean public RecoveryAuthenticationProvider recoveryAuthenticationProvider()
@Bean public org.springframework.security.web.RedirectStrategy redirectStrategy()
@Bean public org.springframework.security.access.hierarchicalroles.RoleHierarchy roleHierarchyBean()
@Bean public org.springframework.security.access.vote.RoleVoter roleVoter()
@Bean public org.springframework.security.core.authority.mapping.GrantedAuthoritiesMapper roleHierarchyAuthoritiesMapper()
@Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder()
protected org.springframework.security.core.userdetails.UserDetailsService userDetailsService()
userDetailsService in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter@Bean
public org.springframework.security.core.userdetails.UserDetailsService userDetailsServiceBean()
throws Exception
userDetailsServiceBean in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.core.userdetails.UserDetailsChecker userDetailsChecker()
protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter@Bean
public org.springframework.security.authentication.AuthenticationManager authenticationManagerBean()
throws Exception
authenticationManagerBean in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint authenticationEntryPoint()
@Bean public ApiSessionExpirationFilter apiSessionExpirationFilter()
@Bean public org.springframework.security.web.session.HttpSessionEventPublisher httpSessionEventPublisher()
Copyright © 2017. All rights reserved.