CAS + username

Robert BORGER rborger at index-education.fr
Mon Nov 5 04:39:04 EST 2007


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