|
Edward, Cross-posting to the wrong list (cas-dev) will not speed up a reply. One thing you'll need is an additional filter. Actually, two of them, I think. To make getRemoteUser() work, you'll need them configured similar to this: <filter> <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name> <filter-class>org.jasig.cas.client.util.HttpServletRequestWrapperFilter</filter-class> </filter> <filter> <filter-name>CAS Assertion Thread Local Filter</filter-name> <filter-class>org.jasig.cas.client.util.AssertionThreadLocalFilter</filter-class> </filter> <filter-mapping> <filter-name>CAS HttpServletRequest Wrapper Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>CAS Assertion Thread Local Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> What concerns me is that, while you are using the JA-SIG CAS Client, the exception message you included appears to have come from the Yale CAS Filter. I don't think you need both. Adam Edward Chen wrote: I installed CAS 3.2.1 and deployed successfully with LDAP in my Windows XP and Tomcat5.25. Now I want to link the simple jsp application in Tomcat to CAS. I modified the CAS filter in web.xml as bellow. If I comment out "CAS Validation Filter", I got redirected to CAS and passed CAS login and went back to the application. However, I got "null" value (<%=request.getRemoteUser()%>) in my test.jsp. It should be supposed to have the CAS login username. |
begin:vcard fn:Adam Rybicki n:Rybicki;Adam org:Unicon, Inc.;Professional Services adr:Suite 113;;3140 North Arizona Avenue;Chandler;AZ;85225;United States email;internet:[EMAIL PROTECTED] tel;work:+1-480-558-2400 tel;home:+1-310-265-8286 tel;cell:+1-310-980-2758 x-mozilla-html:FALSE url:http://www.unicon.net/ version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
