Use the "\20" character sequence for spaces in wsadmin commands

Technote (troubleshooting)


Problem(Abstract)

If you enter a user ID or password with spaces in the catalog service domain wsadmin commands, insert the "\20" character sequence for the spaces.

Symptom

If you do not use the character sequence for the user ID and password, the input values are parsed incorrectly. For example, the resulting user name for the entry "Test user" might be "Test."


Resolving the problem

When you enter the values with the wsadmin tool, use \20 in place of spaces. For example: Test\20User

$AdminTask createXSDomain {-name TestDomain -default true -defineDomainServers 
{{host1.mycompany.com "" ,2809}} -configureClientSecurity {-securityEnabled false 
-credentialAuthentication Required -authenticationRetryCount 0 
-credentialGeneratorClass com.ibm.websphere.objectgrid.security.plugins.builtins.UserPasswordCredentialGenerator 
-credentialGeneratorProps "Test\20User Test\20User\20Pwd"}}
 

In the WebSphere Application Server administrative console, the escape characters are not required. Enter spaces as spaces. For example: Test User.


Cross reference information
Segment Product Component Platform Version Edition
Application Servers WebSphere eXtreme Scale General AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS 8.6.0.2 Edition independent

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere DataPower XC10 Appliance
General

Software version:

2.5

Operating system(s):

Firmware

Reference #:

1640347

Modified date:

2013-06-14

Translate my page

Machine Translation

Content navigation