public interface OAuth2SsoConfigurer
Modifier and Type | Interface and Description |
---|---|
static class |
OAuth2SsoConfigurer.RequestMatchers |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
Configure the access rules for the requests already matched in
match(RequestMatchers) . |
void |
match(OAuth2SsoConfigurer.RequestMatchers matchers)
Add request matchers (e.g.
|
void match(OAuth2SsoConfigurer.RequestMatchers matchers)
matchers
- a builder for request matchersvoid configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
match(RequestMatchers)
. It's best not to use the matcher methods on the
provided builder, since that will override changes made elsewhere. But you can (and
should) use the matcher methods in the HttpSecurity.authorizeRequests()
sub-builder to control the access rules for the matched resources.http
- the current HttpSecurity builderException
- if the HttpSecurity builder doesCopyright © 2015 Pivotal Software, Inc.. All rights reserved.