These are chat archives for spring-guides/tut-spring-security-and-angular-js

1st
Jul 2015
Dave Syer
@dsyer
Jul 01 2015 07:52
Isn't that reasoning backwards? The OAuth2 filter chain comes first, so you need to use that one to narrow the match so it only protects the resources you need an access token for.
Luke Palnau
@lpalnau
Jul 01 2015 12:31
I think I follow, how do I get some antMatchers on the OAuth2 filter chain? Is it like the config in the tutorial auth server where the matchers get overridden, I wasn't sure if that config could be done in a resource server.
Dave Syer
@dsyer
Jul 01 2015 12:34
Look at ResourceServerConfigurerAdapter.
Luke Palnau
@lpalnau
Jul 01 2015 12:35
Ty
Luke Palnau
@lpalnau
Jul 01 2015 14:04
Worked like a charm, ty again