I am doing SAML based authentication in my application, and able to fetch the user role and id through SAML api, now How can I set this values for Spring role based authorization as my login module is not calling Spring form login,in that case how the AuthenticationManager fetch these values?
Asked
Active
Viewed 384 times
1
-
Looks like you don't need authentication manager if you have already got the user details. You can programmatically let Spring Security know that user is authenticated. See http://stackoverflow.com/questions/15484139/ – Ritesh Feb 08 '14 at 02:01
-
Thanks @Rites h I solved the issue by adding a Pre Auth Filter – Phalguni Mukherjee Feb 08 '14 at 11:48