public class ServerHttpSecurity
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ServerHttpSecurity.AuthorizeExchangeSpec |
class |
ServerHttpSecurity.CsrfSpec |
class |
ServerHttpSecurity.ExceptionHandlingSpec |
class |
ServerHttpSecurity.FormLoginSpec |
class |
ServerHttpSecurity.HeaderSpec |
class |
ServerHttpSecurity.HttpBasicSpec |
class |
ServerHttpSecurity.LogoutSpec |
class |
ServerHttpSecurity.RequestCacheSpec |
public ServerHttpSecurity securityMatcher(ServerWebExchangeMatcher matcher)
matcher
- the ServerExchangeMatcher that determines which requests apply to this HttpSecurity instance.
Default is all requests.public ServerHttpSecurity addFilterAt(org.springframework.web.server.WebFilter webFilter, SecurityWebFiltersOrder order)
public ServerHttpSecurity securityContextRepository(ServerSecurityContextRepository securityContextRepository)
public ServerHttpSecurity.CsrfSpec csrf()
public ServerHttpSecurity.HttpBasicSpec httpBasic()
public ServerHttpSecurity.FormLoginSpec formLogin()
public ServerHttpSecurity.HeaderSpec headers()
public ServerHttpSecurity.ExceptionHandlingSpec exceptionHandling()
public ServerHttpSecurity.AuthorizeExchangeSpec authorizeExchange()
public ServerHttpSecurity.LogoutSpec logout()
public ServerHttpSecurity.RequestCacheSpec requestCache()
public ServerHttpSecurity authenticationManager(ReactiveAuthenticationManager manager)
public SecurityWebFilterChain build()
public static ServerHttpSecurity http()