Assuming you are using spring security for your application, use CredentialToPrincipal resolver and load whatever you want into the principal.
From: Weder Carlos Vieira [mailto:[email protected]] Sent: Tuesday, September 03, 2013 12:00 AM To: [email protected] Subject: [cas-user] Spring + CAS with LDAP and DB Hello Everyone... I would like to know if I can use spring + cas as follows: 1 - the user call application and CAS ask for User and Password; 2 - CAS validate the User/Password against AD (LDAP). - Just validate if User and Password are right -. 3 - Then, If the login are right, I Want to load the authorization of this user from a table in the database. How can I do this? Is it possible? If yes, should I do this on the CAS service by customizing it? Someone has any example of it that I want? Thanks all Weder -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[email protected]> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
