Hi 

We are trying to customize some package solutions and the application
logic is program in java and thinking to incorporate the CAS
authentication into it. However, the web flow is done in PERL CGI but
not java JSP. 

Rgds


Johnny Li
System Specialist
Information Technology

China Mobile Hong Kong Co. Ltd.
Phone :+852 2945 8701
Fax    :+852 2429 7465
Email  :[email protected]
Website:http://www.hk.chinamobile.com

The message contained in this e-mail (including attachments, if any) is 
intended solely for the addressee, and may be confidential and privileged. If 
you are not the addressee but have received this e-mail in error, please notify 
the sender immediately by returning e-mail, and delete it. Though all 
reasonable precautions have been taken to ensure that the message and its 
attachments are free from virus, China Mobile Hong Kong Company Limited does 
not accept any responsibility for loss or damage that this e-mail may cause. 
Thank you.
?????????????,????????????????????????????????(?????????????????????)?????????????????,?????????????????????????????????????,?????????????????????????!




-----Original Message-----
From: Marvin Addison [mailto:[email protected]] 
Sent: Thursday, October 21, 2010 9:41 PM
To: [email protected]
Subject: Re: [cas-user] Retrieve remote_user in CGI after CAS
authentication

> Any ideas how to get the username input in CAS login page in PERL cgi
after successful authentication

I'm curious about your setup where you apparently have a CAS Java
client in front of a PERL CGI script.  In any case I believe
org.jasig.cas.client.util.HttpServletRequestWrapperFilter will do what
you want.  I see you're using the ancient Yale 2.x Java CAS client.
More recent 3.x Jasig Java CAS clients include this component.  I
encourage you to upgrade whether or not the request wrapper filter
solves your problem.  See
https://wiki.jasig.org/display/CASC/Configuring+the+JA-SIG+CAS+Client+fo
r+Java+in+the+web.xml
for general 3.x configuration instructions.

M

-- 
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to