updated to later spring security revisions
updated to later spring security revisions
changed the request matcher to match for oauth only when the request Accept: does NOT equal text/html
it works!
removing the @EnableGlobalMethodSecurity annotation as its redudant atm.
Update pom.xml
use security.web.util.matcher package
Clean imports
registerAuthentication->configure