PDA

View Full Version : Spring security which library to use



hrsht
Nov 2nd, 2011, 07:23 PM
Hi,

I am using spring-security-oauth2 jar for my project. How is it different from spring-security-oauth. I intend to use the oauth2 jar for oauth2.

Also I have to overwrite the DefaultOAuth2GrantManager class so that i can create my custom ClientPasswordAuthenticationToken to set more details. For this i will have to overrde TokenEndPoint class. so that i can map "/oauth/token" to my controller.

How can this be achieved? Is there a simpler way to overried the url mapping..
Thanks