tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghupathy,Gurumoorthy" <gurumoorthy.raghupa...@uk.fid-intl.com>
Subject RE: How to get login username with pageContext?
Date Tue, 04 Oct 2005 14:36:11 GMT
<%
	String user = request.getRemoteUser();

%>

-----Original Message-----
From: pc.leung@gmail.com [mailto:pc.leung@gmail.com] 
Sent: 04 October 2005 15:34
To: Tomcat Users List
Subject: How to get login username with pageContext?


<%
	pageContext.getRequest().???
                List userRoleList =
UserRoleService.getInstance().getUserRoleList();
%>

I fail to find getRemoteUser() in pageContext.getRequest
after login with JDBCRealm.
I'd like to pass it in as a parameter in getUserRoleList().

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message