IBM Support

PK74054; 6.1.0.23: ConfigService APIs do not Encode and Decode Resource Environ.

Download


Abstract

Attribute name: superAdminPassword not encoded

Download Description

************************************************************
*
* This interim fix is no longer available. Please see APAR(s) PK85008

* for a description of the problem(s) and corrective action(s).
*
*************************************************************

PK74054 resolves the following problem:

ERROR DESCRIPTION:
For Resource Environment Providers properties with a name containing the word 'password' in them, the IBM WebSphere Application Server administrative console GUI will encode the values of these properties when set. Using ConfigService APIs does not encode these values when set or created. This is inconsistent. The ConfigService API does not decode these values when retrieving them either.

The ConfigService API needs to be changed so that REPs named 'superAdminPassword', which is the name of the password property can be encoded when created or set. This will make things consistent with the Administrative Console GUI. Also, the ConfigService API needs to be changed so that the REP value of 'superAdminPassword' will be decoded.

LOCAL FIX:
None

PROBLEM SUMMARY

USERS AFFECTED:
WebSphere Application Server V6.1 and V7.0 users who configure the attribute name: superAdminPassword of a PropertySet Object that itself is an attribute of a ResourceEnvironmentProvider Object.

PROBLEM DESCRIPTION:
Attribute name: superAdminPassword not encoded.

RECOMMENDATION:
None

Attribute name: superAdminPassword of a PropertySet Object that itself is an attribute of a ResourceEnvironmentProvider needs to be encoded within the resources.xml file.

PROBLEM CONCLUSION:
If the attribute name is "superAdminPassword", the code now checks to see if the parent object is of the type PropertySet. If so, it then checks to see if the parent Object of the PropertySet Object has the type ResourceEnvironmentProvider. If all this is true, then the code will encode the superAdminPassword value when saving to the resources.xml, and decode when doing a AdminConfig.showAttribute, or AdminConfig.showall.

The fix for this APAR is currently targeted for inclusion in fix packs 6.1.0.25 and 7.0.0.5. Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Off

Technical Support

Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.3;7.0.0.1;7.0;6.1.0.23;6.1.0.21;6.1.0.19;6.1.0.17","Edition":"Advanced;Base;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24022694