about getting remote user:
Luca Scotto
lucascotto at gmail.com
Fri Nov 17 04:53:08 EST 2006
Hi all,
about getting remote user with mod_cas:
Testing with: <%=request.getRemoteUser() %> &
<%=request.getAttribute("credentials")%>
going to www.mypcx.com:8443/cas or
www.mypcx.com/cas and
www.mypcx.com/casProtected
ON PC1
/casProtected/test.jsp
<%=request.getRemoteUser()%> -> ok
<%=request.getAttribute("credentials")%> ok
/cas/.../casGenericSuccess.jsp ->
<%=request.getRemoteUser()%> NULL value
<%=request.getAttribute("credentials")%> ok
ON PC2
/casProtected/test.jsp
<%=request.getRemoteUser()%> NULL value
<%=request.getAttribute("credentials")%> NULL value
/cas/.../casGenericSuccess.jsp
<%=request.getRemoteUser()%> NULL value
<%=request.getAttribute("credentials")%> NULL value
ON PC3
/casProtected/test.jsp
<%=request.getAttribute("credentials")%> -> ok
<%=request.getRemoteUser()%> -> ok
/cas/.../casGenericSuccess.jsp ->
<%=request.getAttribute("credentials")%> -> ok
<%=request.getRemoteUser()%> -> NULL value
PC1, 2 and 3 with:
-------------------------------------
> Apache 2.0.x - mod_cas + mod_jk
> Tomcat 5.0.x- CAS 3.0.5 - ldap
------------------------------------
Where CAS set remoteUser?
Where i can add a session.setAttribute("UserID") in CAS code?
Any idea about why does CAS on PC2 lost remote user?
Thanks
More information about the cas
mailing list