public class ServerHttpSecurity.AuthorizeExchangeSpec extends AbstractServerWebExchangeMatcherRegistry<ServerHttpSecurity.AuthorizeExchangeSpec.Access>
ServerHttpSecurity.authorizeExchange()
Modifier and Type | Class and Description |
---|---|
class |
ServerHttpSecurity.AuthorizeExchangeSpec.Access
Configures the access for a particular set of exchanges.
|
Constructor and Description |
---|
AuthorizeExchangeSpec() |
Modifier and Type | Method and Description |
---|---|
ServerHttpSecurity |
and()
Allows method chaining to continue configuring the
ServerHttpSecurity |
ServerHttpSecurity.AuthorizeExchangeSpec.Access |
anyExchange()
Disables authorization.
|
protected void |
configure(ServerHttpSecurity http) |
protected ServerHttpSecurity.AuthorizeExchangeSpec.Access |
registerMatcher(ServerWebExchangeMatcher matcher)
Subclasses should implement this method for returning the object that is chained to
the creation of the
ServerWebExchangeMatcher instances. |
matchers, pathMatchers, pathMatchers, pathMatchers
public ServerHttpSecurity and()
ServerHttpSecurity
ServerHttpSecurity
to continue configuringpublic ServerHttpSecurity.AuthorizeExchangeSpec.Access anyExchange()
anyExchange
in class AbstractServerWebExchangeMatcherRegistry<ServerHttpSecurity.AuthorizeExchangeSpec.Access>
ServerHttpSecurity.AuthorizeExchangeSpec.Access
to continue configuringprotected ServerHttpSecurity.AuthorizeExchangeSpec.Access registerMatcher(ServerWebExchangeMatcher matcher)
AbstractServerWebExchangeMatcherRegistry
ServerWebExchangeMatcher
instances.registerMatcher
in class AbstractServerWebExchangeMatcherRegistry<ServerHttpSecurity.AuthorizeExchangeSpec.Access>
matcher
- the ServerWebExchangeMatcher
instances that were createdServerWebExchangeMatcher
protected void configure(ServerHttpSecurity http)