<%
        String user = request.getRemoteUser();

%>

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to