TR: CAS + username

Robert BORGER rborger at index-education.fr
Mon Nov 5 09:26:25 EST 2007


I have reinstalled CAS from scratch, installed version 3.1.1 the previous version was 3.1, and configured the LDAP manually again.

And now it works ... I get my username instead of the encrypted name.

So my problem has been resolved.

But if anyone could shed a light on the reason why, even though in my 3.1 version authentication was successful, I got an encrypted name in my session variable instead of the plain username.

I would appreciate any information 

Robert

-----Message d'origine-----
De : Robert BORGER 
Envoyé : lundi 5 novembre 2007 10:39
À : 'cas at tp.its.yale.edu'
Objet : CAS + username


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  




More information about the cas mailing list