Spring security oauth2 and form login configuration
问题 My project consists exposes two different parts, a JSF admin panel and a RESTfull service. I am trying to setup spring security to use different authentication methods depending on the URL the user navigates. The requirements are Users navigating to the JSF page get a login screen where they authentication using form authentication. Users navigating to the REST service use OAuth2 implicit authentication with basic authentication for the token granting. The seperate configurations work by