PQ74759: METHOD GETAUTHTYPE() CALLED ON REQUEST OBJECT DOESN'T RETURN CORRECT AUTHORIZATION SCHEME. | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description Calling getAuthType() on the request object running in a J2EE server, always returns the string "<none>", rather than being set to the authorization scheme used (such as "BASIC", or "SSL"). From the trace, it appears that the environment variable AUTH_TYPE may not be set in the webcontainer running the request.Local fix Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * version 4.0.1 for z/OS and OS/390. * **************************************************************** * PROBLEM DESCRIPTION: Method getAuthType() called on request * * object does not return correct * * authorization scheme. * **************************************************************** * RECOMMENDATION: * **************************************************************** The customer is deploying an application using basic authentication through the HTTP server. The environment variable AUTH_TYPE is set to <none>. Method request.getAuthType() returns null. The problem is that the request object's authorization type does not get set in the webcontainer for basic authorization.Problem conclusion WebAuthenticator.java, Web390Authenticator.java, and Web390Collaborator.java are changed to set AUTH_TYPE to the type of security challenge issued for the request, using the constants defined in Constants.java. Debug traces are added to WebAttributes.java. APAR PQ74759 is associated with SERVICE LEVEL W401510 of WebSphere Application Server version 4.0.1 for z/OS and OS/390.Temporary 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 #: PQ74759
IBM Group: Software Group
Modified date: Aug 6, 2003
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.