Community
Participate
Working Groups
In many of the commercial RAP applications I've seen developers (including myself) using the authenticated remote user of the request for getting additional user data, accessing database systems, etc.: String user = RWT.getRequest().getRemoteUser(); Another way is via getUserPrincipal(). Both ways work if and only if the user has been authenticated, but it is not possible to achieve this - when a RAP application is launched with Jetty by the RAP Tools launch configuration and - when s.o. writes tests and needs a fake remote user. My current thinking is that it could be helpful if a user could set a fake user in these cases.