I have implemented Oauth2 in my spring-boot app. In my security-context.xml, I have these lines -
<sec:intercept-url pattern="/trusted/**" access="isAnonymous()" />
<sec:intercept-url pattern="/**" access="isFullyAuthenticated()" />
I want everything under /trusted to be available without authentication. However, I am still prompted for authentication when I try to access /trusted resources (theses are RESTful resources).
Did I miss something else ?
[Edit:] I am running this app with a 'provided' tomcat instance.