DEV Community

Salad Lam
Salad Lam

Posted on

Available configurer in HttpSecurity class

Notice

I wrote this article and was originally published on Qiita on 16 September 2019.


Method in class HttpSecurity Configurer
openidLogin() org.springframework.security.config.annotation.web.configurers.openid.OpenIDLoginConfigurer
headers() org.springframework.security.config.annotation.web.configurers.HeadersConfigurer
cors() org.springframework.security.config.annotation.web.configurers.CorsConfigurer
sessionManagement() org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer
portMapper() org.springframework.security.config.annotation.web.configurers.PortMapperConfigurer
jee() org.springframework.security.config.annotation.web.configurers.JeeConfigurer
x509() org.springframework.security.config.annotation.web.configurers.X509Configurer
rememberMe() org.springframework.security.config.annotation.web.configurers.RememberMeConfigurer
authorizeRequests() org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry
requestCache() org.springframework.security.config.annotation.web.configurers.RequestCacheConfigurer
exceptionHandling() org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer
securityContext() org.springframework.security.config.annotation.web.configurers.SecurityContextConfigurer
servletApi() org.springframework.security.config.annotation.web.configurers.ServletApiConfigurer
csrf() org.springframework.security.config.annotation.web.configurers.CsrfConfigurer
logout() org.springframework.security.config.annotation.web.configurers.LogoutConfigurer
anonymous() org.springframework.security.config.annotation.web.configurers.AnonymousConfigurer
formLogin() org.springframework.security.config.annotation.web.configurers.FormLoginConfigurer
oauth2Login() org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer
oauth2Client() org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer
oauth2ResourceServer() org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer
requiresChannel() org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
httpBasic() org.springframework.security.config.annotation.web.configurers.HttpBasicConfigurer
requestMatchers() org.springframework.security.config.annotation.web.builders.HttpSecurity.RequestMatcherConfigurer

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)