Hi Team,

I have 2 requirements:

1) I an authenticate y web login to visit my desired page. But after the login I want to have the token to be sent to business layer for further authentication. How can i get the token.

2) I want to secure the rest services. where in , If i make a call to any restful service that produces and consumes jSON format data. 

Scenario is: I make a call to the restful service. The authentication should kick in. If success i can go ahead and play with other rest  services.

Any help will be highly appreciated.

Regards,
Satya.