PQ56852: GETREMOTEUSER() METHOD CALL RETURNS NULL | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When calling the method getRemoteUser() in WebSphere Application Server V4.0.1 for z/0S and OS/390, a null value is returned. According to the servlet 2.2 API, this method should return the userid entered when the user logged in.Local fix call the method getUserPrincipal().getName()Problem summary **************************************************************** * USERS AFFECTED: All Users of the WebSphere Application * * Server Version V4.0.1 for z/OS and OS/390 * * may be affected. * **************************************************************** * PROBLEM DESCRIPTION: getRemoteUser() method returns null. * **************************************************************** * RECOMMENDATION: * **************************************************************** When the getRemoteUser() method is called in WebSphere Application Server Version V4.0.1 for z/OS and OS/390, a null value is always returned. Per the Servlet 2.2 Specification, getRemoteUser()in class HttpServletRequest should return the login ID of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.Problem conclusion The getRemoteUser() method for HttpServletRequest class is changed to return the proper value. If the user is not authenticated, then null is returned. If the user is authenticated, then the login id is returned, except when the login id is the System Default ID. If the user is authenticated and the login id is the System Default ID, null is returned. The System Default ID is optionally defined by the WebAuth.UnauthenticatedUserSurrogate property in the webcontainer.conf file. If the property is not defined, then the id of the Web server is used as the System Default ID. This change affects COMPID 5655A9800 R401 for z/OS and OS/390. The code changes are stored in CMVC under defect PQ56852. 401Y EJSJWCWC * Cross Reference between External and Internal NamesTemporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ56852
IBM Group: Software Group
Modified date: May 2, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.