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:weder.vie...@gmail.com] Sent: Tuesday, September 03, 2013 12:00 AM To: cas-user@lists.jasig.org 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 cas-user@lists.jasig.org<mailto:cas-user@lists.jasig.org> as: avinash.ashw...@emc.com<mailto:avinash.ashw...@emc.com> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user