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(org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher matcher)
Subclasses should implement this method for returning the object that is chained to
the creation of the
ServerWebExchangeMatcher instances. |
matchers, pathMatchers, pathMatchers, pathMatcherspublic ServerHttpSecurity and()
ServerHttpSecurityServerHttpSecurity to continue configuringpublic ServerHttpSecurity.AuthorizeExchangeSpec.Access anyExchange()
anyExchange in class AbstractServerWebExchangeMatcherRegistry<ServerHttpSecurity.AuthorizeExchangeSpec.Access>ServerHttpSecurity.AuthorizeExchangeSpec.Access to continue configuringprotected ServerHttpSecurity.AuthorizeExchangeSpec.Access registerMatcher(org.springframework.security.web.server.util.matcher.ServerWebExchangeMatcher matcher)
AbstractServerWebExchangeMatcherRegistryServerWebExchangeMatcher instances.registerMatcher in class AbstractServerWebExchangeMatcherRegistry<ServerHttpSecurity.AuthorizeExchangeSpec.Access>matcher - the ServerWebExchangeMatcher instances that were createdServerWebExchangeMatcherprotected void configure(ServerHttpSecurity http)