Package psiprobe
Class ProbeSecurityConfig
- java.lang.Object
-
- org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
-
- psiprobe.ProbeSecurityConfig
-
- All Implemented Interfaces:
org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>
,org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@Configuration @EnableWebSecurity public class ProbeSecurityConfig extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
The Class ProbeSecurityConfig.
-
-
Constructor Summary
Constructors Constructor Description ProbeSecurityConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.access.vote.AffirmativeBased
getAffirmativeBased()
Gets the affirmative based.org.springframework.security.web.access.ExceptionTranslationFilter
getExceptionTranslationFilter()
Gets the exception translation filter.org.springframework.security.web.FilterChainProxy
getFilterChainProxy()
Gets the filter chain proxy.org.springframework.security.web.access.intercept.FilterSecurityInterceptor
getFilterSecurityInterceptor()
Gets the filter security interceptor.org.springframework.security.web.authentication.Http403ForbiddenEntryPoint
getHttp403ForbiddenEntryPoint()
Gets the http 403 forbidden entry point.org.springframework.security.web.savedrequest.HttpSessionRequestCache
getHttpSessionRequestCache()
Gets the http session request cache.org.springframework.security.web.authentication.preauth.j2ee.J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource
getJ2eeBasedPreAuthenticatedWebAuthenticationDetailsSource()
Gets the j 2 ee based pre authenticated web authentication details source.org.springframework.security.web.authentication.preauth.j2ee.J2eePreAuthenticatedProcessingFilter
getJ2eePreAuthenticatedProcessingFilter()
Gets the j 2 ee pre authenticated processing filter.org.springframework.security.web.authentication.logout.LogoutFilter
getLogoutFilter()
Gets the logout filter.org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider
getPreAuthenticatedAuthenticationProvider()
Gets the pre authenticated authentication provider.org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesUserDetailsService
getPreAuthenticatedGrantedAuthoritiesUserDetailsService()
Gets the pre authenticated granted authorities user details service.org.springframework.security.authentication.ProviderManager
getProviderManager()
Gets the provider manager.org.springframework.security.access.vote.RoleVoter
getRoleVoter()
Gets the role voter.org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter
getSecurityContextHolderAwareRequestFilter()
Gets the security context holder aware request filter.org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler
getSecurityContextLogoutHandler()
Gets the security context logout handler.org.springframework.security.web.context.SecurityContextPersistenceFilter
getSecurityContextPersistenceFilter()
Gets the security context persistence filter.org.springframework.security.core.authority.mapping.SimpleAttributes2GrantedAuthoritiesMapper
getSimpleAttributes2GrantedAuthoritiesMapper()
Gets the simple attributes 2 granted authorities mapper.org.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever
getWebXmlMappableAttributesRetriever()
Gets the web xml mappable attributes retriever.com.thoughtworks.xstream.XStream
getXstream()
Gets the xstream.-
Methods inherited from class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
authenticationManager, authenticationManagerBean, configure, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
-
-
-
-
Method Detail
-
getFilterChainProxy
@Bean(name="filterChainProxy") public org.springframework.security.web.FilterChainProxy getFilterChainProxy()
Gets the filter chain proxy.- Returns:
- the filter chain proxy
-
getProviderManager
@Bean(name="authenticationManager") public org.springframework.security.authentication.ProviderManager getProviderManager()
Gets the provider manager.- Returns:
- the provider manager
-
getSecurityContextPersistenceFilter
@Bean(name="sif") public org.springframework.security.web.context.SecurityContextPersistenceFilter getSecurityContextPersistenceFilter()
Gets the security context persistence filter.- Returns:
- the security context persistence filter
-
getPreAuthenticatedAuthenticationProvider
@Bean(name="preAuthenticatedAuthenticationProvider") public org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationProvider getPreAuthenticatedAuthenticationProvider()
Gets the pre authenticated authentication provider.- Returns:
- the pre authenticated authentication provider
-
getPreAuthenticatedGrantedAuthoritiesUserDetailsService
@Bean(name="preAuthenticatedUserDetailsService") public org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesUserDetailsService getPreAuthenticatedGrantedAuthoritiesUserDetailsService()
Gets the pre authenticated granted authorities user details service.- Returns:
- the pre authenticated granted authorities user details service
-
getJ2eePreAuthenticatedProcessingFilter
@Bean(name="j2eePreAuthenticatedProcessingFilter") public org.springframework.security.web.authentication.preauth.j2ee.J2eePreAuthenticatedProcessingFilter getJ2eePreAuthenticatedProcessingFilter()
Gets the j 2 ee pre authenticated processing filter.- Returns:
- the j 2 ee pre authenticated processing filter
-
getHttp403ForbiddenEntryPoint
@Bean(name="preAuthenticatedProcessingFilterEntryPoint") public org.springframework.security.web.authentication.Http403ForbiddenEntryPoint getHttp403ForbiddenEntryPoint()
Gets the http 403 forbidden entry point.- Returns:
- the http 403 forbidden entry point
-
getLogoutFilter
@Bean(name="logoutFilter") public org.springframework.security.web.authentication.logout.LogoutFilter getLogoutFilter()
Gets the logout filter.- Returns:
- the logout filter
-
getSecurityContextLogoutHandler
@Bean(name="securityContextLogoutHandler") public org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler getSecurityContextLogoutHandler()
Gets the security context logout handler.- Returns:
- the security context logout handler
-
getJ2eeBasedPreAuthenticatedWebAuthenticationDetailsSource
@Bean(name="authenticationDetailsSource") public org.springframework.security.web.authentication.preauth.j2ee.J2eeBasedPreAuthenticatedWebAuthenticationDetailsSource getJ2eeBasedPreAuthenticatedWebAuthenticationDetailsSource()
Gets the j 2 ee based pre authenticated web authentication details source.- Returns:
- the j 2 ee based pre authenticated web authentication details source
-
getSimpleAttributes2GrantedAuthoritiesMapper
@Bean(name="j2eeUserRoles2GrantedAuthoritiesMapper") public org.springframework.security.core.authority.mapping.SimpleAttributes2GrantedAuthoritiesMapper getSimpleAttributes2GrantedAuthoritiesMapper()
Gets the simple attributes 2 granted authorities mapper.- Returns:
- the simple attributes 2 granted authorities mapper
-
getWebXmlMappableAttributesRetriever
@Bean(name="j2eeMappableRolesRetriever") public org.springframework.security.web.authentication.preauth.j2ee.WebXmlMappableAttributesRetriever getWebXmlMappableAttributesRetriever()
Gets the web xml mappable attributes retriever.- Returns:
- the web xml mappable attributes retriever
-
getExceptionTranslationFilter
@Bean(name="etf") public org.springframework.security.web.access.ExceptionTranslationFilter getExceptionTranslationFilter()
Gets the exception translation filter.- Returns:
- the exception translation filter
-
getAffirmativeBased
@Bean(name="httpRequestAccessDecisionManager") public org.springframework.security.access.vote.AffirmativeBased getAffirmativeBased()
Gets the affirmative based.- Returns:
- the affirmative based
-
getFilterSecurityInterceptor
@Bean(name="fsi") public org.springframework.security.web.access.intercept.FilterSecurityInterceptor getFilterSecurityInterceptor()
Gets the filter security interceptor.- Returns:
- the filter security interceptor
-
getRoleVoter
@Bean(name="roleVoter") public org.springframework.security.access.vote.RoleVoter getRoleVoter()
Gets the role voter.- Returns:
- the role voter
-
getSecurityContextHolderAwareRequestFilter
@Bean(name="securityContextHolderAwareRequestFilter") public org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter getSecurityContextHolderAwareRequestFilter()
Gets the security context holder aware request filter.- Returns:
- the security context holder aware request filter
-
getHttpSessionRequestCache
@Bean(name="httpSessionRequestCache") public org.springframework.security.web.savedrequest.HttpSessionRequestCache getHttpSessionRequestCache()
Gets the http session request cache.- Returns:
- the http session request cache
-
getXstream
@Bean(name="xstream") public com.thoughtworks.xstream.XStream getXstream()
Gets the xstream.- Returns:
- the xstream
-
-