Add OAuth2 resource server sample

Shows how to use @EnableResourceServer in a pure resource
server and configure the secure paths.
This commit is contained in:
Dave Syer
2015-10-29 08:40:12 +00:00
parent cd496c7ec8
commit abd7bc0466
11 changed files with 403 additions and 2 deletions

View File

@@ -4,5 +4,6 @@ security.user.name=greg
security.user.password=turnquist
security.oauth2.client.client-id=foo
security.oauth2.client.client-secret=bar
security.oauth2.authorization.checkTokenAccess=isAuthenticated()
logging.level.org.springframework.security=DEBUG