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 : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 < [EMAIL PROTECTED]> 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
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia 
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to