CAS + username - Email found in subject
Robert BORGER
rborger at index-education.fr
Tue Nov 6 02:43:23 EST 2007
Hi Scott,
String ident = (String) request.getSession().getAttribute(CASFilter.CAS_FILTER_USER);
But like I announced in my second e-mail the problem has been resolved by reinstalling CAS 3.1.1 from scratch and the code returns the username fine.
I was just hoping someone might have encountered a similar problem and found the parameter in CAS which caused to return the strong authenticated encrypted username ...
Anyway thank you for the reply.
Robert
________________________________________
De : cas-bounces at tp.its.yale.edu [mailto:cas-bounces at tp.its.yale.edu] De la part de Scott Battaglia
Envoyé : lundi 5 novembre 2007 15:44
À : Yale CAS mailing list
Objet : [SPAM] - Re: CAS + username - Email found in subject
What code are you using to obtain the username in your servlet?
-Scott
On 11/5/07, Robert BORGER < rborger at index-education.fr> wrote:
Hello,
I am new to CAS and am writing a servlet to access information.
The idea is to use CAS to authenticate a user and if authentication successful use the username to retrieve the information.
I installed CAS and got everything working as it should (using serviceValidate).
The problem is getting the username back from the CASFilter. I only get a strong authenticated used name "QFHx2FkrklyLhD39mT2W5CSsRxA=" and not "myname".
How can I get the actual username in my servlet java code?
Thank you for any help on the matter.
Robert
_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
More information about the cas
mailing list