000013086 - AXM - Webservice adminAPI password change causes 'Command input is 'null'' error

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000013086
Applies ToAccess Manager 6.0.4
2003 Server
Weblogic 9.2.3
IssueAXM - Webservice adminAPI password change causes "Command input is 'null'"  error

AdminGui Default Password Policy has a password length set to 6 characters, resetting a password with less than 8 characters delivers the following failure in the AdminWS.LOG when using the web service adminAPI when using Weblogic 9.2.3:

2009-06-03 18:42:33,902 - AxM Web Service Admin API : Command input is 'null'. sirrus.ws.admin.api.handler.CommandException: The number of characters in Password should be within the range specified in configuration file. at sirrus.ws.admin.utils.DTOValidator.parseResults(DTOValidator.java:148) at sirrus.ws.admin.utils.DTOValidator.validate(DTOValidator.java:87) Command input is 'null'. sirrus.ws.admin.api.handler.CommandException: The number of characters in Password should be within the range specified in configuration file.

Cause

Weblogic contains an embedded ldap backend that stores,among other things, a minimum password length. The exception is not being caused by AxM, it is a pass-through from Weblogic. For additional information, see:

ResolutionPlease follow either of these 2 methods to change this in weblogic:

1) Via Admin Console:
---------------------
- In the admin console traverse to : Home -> Summary of Security Realms -> myrealm -> Providers -> DefaultAuthenticator
- Under DefaultAuthenticator, click on the Configuration -> 'ProviderSpecific' tab.
- Edit the box for 'Minimum Password Length:' and then specify the required length value, in your case 6.

- Save changes and restart Weblogic (a restart is necessary as this parameter is only read at startup time).

- OR -

2) You can also use WLST to edit the same:
------------------------------------------
Copy the below script in the file named "changepwdlenght.py" and save in base_domain directory. (noting to modify this as per you domain name and server configuration)
***********************
connect('<username>','<password>','t3://<Host>:<Port>')
edit()
startEdit(-1,-1,'false')
cd('/SecurityConfiguration/base_domain/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator')
set('MinimumPasswordLength',6)
activate()
exit()
************************
Legacy Article IDa46363

Attachments

    Outcomes