Urgent!!: How to use getUserPrincipal and getRemoteUser of the request????
843833Aug 6 2003 — edited Aug 7 2003Hi i'm trying to get authenticated in a J2EE application using Websphere as server, when i call the java method getUserPrincipal of the request im getting a null value, but when im doing the same thing in a weblogic server im getting the right user name!!! do youn know what could be wrong?
In Websphere securty documentation a found the following text:
"The methods getRemoteUser() and getUserPrincipal() return
null as a result even if the user is logged in, unless the servlet or the JSP itself is secured."
How can i secure a JSP or servlet by itself??
thanks in advance....
Eric P�rez