Hi,

I am developing some portlets for Jetspeed1.6 according to the Java Portlet Specification. Everything works fine except for one thing: I cannot get the username of the client. These all return null:

request.getAuthType();
request.getRemoteUser();
request.getUserPrincipal();

On the other hand this works fine:

Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);

However, as far as I know I can only use this to retreive user.name.given, user.name.family etc. but no username. I need the username to store a unique identifier for a user, for example when making forum posts.

Is there any way to solve this?

Thanks in advance,
Roy Chin

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

Reply via email to