Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Friday, December 9, 2016

WebSphere: Temporarily disable Global Security

Today, I got stuck at the login screen of IBM WebSphere and getting message "Invalid UserId or Password". Investigated the issue and found that due to some misconfigurations in config file, I was unable to login into WebSphere Admin console and weird thing is that to fix the issue, I have to login into admin console.

Below are the steps to temporarily disable the global security in WebSphere:
1. Open security.xml file in a text editor and locate the following text: useLocalSecurityServer="true" useDomainQualifiedUserNames="false" enabled="true" cacheTimeout="600"
Change both useLocalSecurityServer and enabled to "false".
useLocalSecurityServer="false" useDomainQualifiedUserNames="false" enabled="false" cacheTimeout="600"

2. Save the file then start/restart WebSphere services.
3. Save the file then start/restart WebSphere services.
4. Once the services are started, you will be able to access WebSphere Admin console with any username. This allows any incorrect configurations to be changed and re-tested.
5. Ensure that above parameters are reverted once the issue is resolved and restart the services.