Well, not anymore, because you are going to learn how to configure IBM WebSphere Application Server to stop prompting for credentials every time.

In default WebSphere installation when security is enabled, you will get a credential prompt as shown below at every shutdown. The following procedure will help you to configure WAS in such a way that you don’t get a credential prompt anymore during a shutdown. Note: this must be done at profile levels like DMGR or node agent and assume you are using default connection type (SOAP). So ready?

Login into WAS server Go to $PROFILE_HOMEproperties Take a backup of soap.client.props. Or you may also take complete WebSphere configuration backup using backupconfig.sh as explained here. Modify the soap.client.props file using vi and ensure the following three changes.

First– change false to true for SOAP security Second & third – enter user & password, which as administrator role rights.

So here is how file should look like

Test it by restarting respective Node, DMGR, or JVM.

Here is a useful tip if you notice in the above file you can see user and password as plain text, which you don’t want to in a production environment. It’s recommended to encrypt the password and here is how you can do it.

Go to $PROFILE_HOMEbin folder Execute the following command to encrypt the password

Example:-

Let’s take a look at the password field now.

So you can see it’s encrypted which is much better, isn’t it?

BTW, do you know you can decrypt the XOR password? Looking to learn WAS administration? Check out this Udemy course.

Configure WAS to Stop asking for Password during Shutdown - 29Configure WAS to Stop asking for Password during Shutdown - 11Configure WAS to Stop asking for Password during Shutdown - 2Configure WAS to Stop asking for Password during Shutdown - 97Configure WAS to Stop asking for Password during Shutdown - 46Configure WAS to Stop asking for Password during Shutdown - 2Configure WAS to Stop asking for Password during Shutdown - 89Configure WAS to Stop asking for Password during Shutdown - 95Configure WAS to Stop asking for Password during Shutdown - 99Configure WAS to Stop asking for Password during Shutdown - 85Configure WAS to Stop asking for Password during Shutdown - 82Configure WAS to Stop asking for Password during Shutdown - 33Configure WAS to Stop asking for Password during Shutdown - 26Configure WAS to Stop asking for Password during Shutdown - 18Configure WAS to Stop asking for Password during Shutdown - 96Configure WAS to Stop asking for Password during Shutdown - 71Configure WAS to Stop asking for Password during Shutdown - 83Configure WAS to Stop asking for Password during Shutdown - 26Configure WAS to Stop asking for Password during Shutdown - 71Configure WAS to Stop asking for Password during Shutdown - 59Configure WAS to Stop asking for Password during Shutdown - 74Configure WAS to Stop asking for Password during Shutdown - 86Configure WAS to Stop asking for Password during Shutdown - 82Configure WAS to Stop asking for Password during Shutdown - 53Configure WAS to Stop asking for Password during Shutdown - 54