Package | Description |
---|---|
org.springframework.security.config.annotation.web.builders | |
org.springframework.security.config.annotation.web.configuration |
Modifier and Type | Method and Description |
---|---|
HttpSecurity |
HttpSecurity.addFilter(javax.servlet.Filter filter) |
HttpSecurity |
HttpSecurity.addFilterAfter(javax.servlet.Filter filter,
Class<? extends javax.servlet.Filter> afterFilter) |
HttpSecurity |
HttpSecurity.addFilterBefore(javax.servlet.Filter filter,
Class<? extends javax.servlet.Filter> beforeFilter) |
HttpSecurity |
HttpSecurity.RequestMatcherConfigurer.and()
Return the
HttpSecurity for further customizations |
HttpSecurity |
HttpSecurity.antMatcher(String antPattern)
Allows configuring the
HttpSecurity to only be invoked when
matching the provided ant pattern. |
HttpSecurity |
HttpSecurity.authenticationProvider(AuthenticationProvider authenticationProvider) |
HttpSecurity |
HttpSecurity.regexMatcher(String pattern)
Allows configuring the
HttpSecurity to only be invoked when
matching the provided regex pattern. |
HttpSecurity |
HttpSecurity.requestMatcher(RequestMatcher requestMatcher)
Allows configuring the
HttpSecurity to only be invoked when
matching the provided RequestMatcher . |
HttpSecurity |
HttpSecurity.userDetailsService(UserDetailsService userDetailsService) |
Modifier and Type | Method and Description |
---|---|
AnonymousConfigurer<HttpSecurity> |
HttpSecurity.anonymous()
Allows configuring how an anonymous user is represented.
|
CsrfConfigurer<HttpSecurity> |
HttpSecurity.csrf()
Adds CSRF support.
|
ExceptionHandlingConfigurer<HttpSecurity> |
HttpSecurity.exceptionHandling()
Allows configuring exception handling.
|
FormLoginConfigurer<HttpSecurity> |
HttpSecurity.formLogin()
Specifies to support form based authentication.
|
HeadersConfigurer<HttpSecurity> |
HttpSecurity.headers()
Adds the Security headers to the response.
|
HttpBasicConfigurer<HttpSecurity> |
HttpSecurity.httpBasic()
Configures HTTP Basic authentication.
|
JeeConfigurer<HttpSecurity> |
HttpSecurity.jee()
Configures container based based pre authentication.
|
LogoutConfigurer<HttpSecurity> |
HttpSecurity.logout()
Provides logout support.
|
OpenIDLoginConfigurer<HttpSecurity> |
HttpSecurity.openidLogin()
Allows configuring OpenID based authentication.
|
PortMapperConfigurer<HttpSecurity> |
HttpSecurity.portMapper()
Allows configuring a
PortMapper that is available from
AbstractConfiguredSecurityBuilder.getSharedObject(Class) . |
RememberMeConfigurer<HttpSecurity> |
HttpSecurity.rememberMe()
Allows configuring of Remember Me authentication.
|
RequestCacheConfigurer<HttpSecurity> |
HttpSecurity.requestCache()
Allows configuring the Request Cache.
|
SecurityContextConfigurer<HttpSecurity> |
HttpSecurity.securityContext()
Sets up management of the
SecurityContext on the
SecurityContextHolder between HttpServletRequest 's. |
ServletApiConfigurer<HttpSecurity> |
HttpSecurity.servletApi()
Integrates the
HttpServletRequest methods with the values found
on the SecurityContext . |
SessionManagementConfigurer<HttpSecurity> |
HttpSecurity.sessionManagement()
Allows configuring of Session Management.
|
X509Configurer<HttpSecurity> |
HttpSecurity.x509()
Configures X509 based pre authentication.
|
Modifier and Type | Method and Description |
---|---|
protected HttpSecurity |
WebSecurityConfigurerAdapter.getHttp()
Creates the
HttpSecurity or returns the current instance |
Modifier and Type | Method and Description |
---|---|
protected void |
WebSecurityConfigurerAdapter.configure(HttpSecurity http)
Override this method to configure the
HttpSecurity . |
Copyright © 2019. All rights reserved.