To use the operating system as a user registry, WebSphere Application Server needs to be run as the root ID. Run WebSphere Application Server as root and perform the following steps.
To enable WebSphere Application Server security when you are using the operating system user validation as the WebSphere Application Server user registry, log in as a user with administrative authority and perform the following steps.
Login as root.
Start the WebSphere Application Server and launch the WebSphere Application Server Administration Console while logged in as root. To startup the server:
cd WAS_installdir/bin ./startServer server
where server is the name of the WebSphere Application Server application server, for example, server1.- In the WebSphere Application Server Administration Console, modify the global security settings as follows:
- In the Administration Console, expand Security, expand User Registries and click Local OS. Fill in the fields in the Configuration tab as follows, for your security registry server: Apply and then Save.
- In the Administration Console, expand Security and click Global Security.
- In the Global Security Configuration tab, select Enabled and clear Enforce Java 2 Security.
- In the Active Authentication Mechanism field, select SWAM (Simple WebSphere Authentication Mechanism.
- In the Active User Registry field, select Local OS.
- Click Apply and then Save.
- In the Administration Console, expand Applications, then click Enterprise Applications.
- In the Enterprise Applications window, click your Commerce application, WC_instance_name (for example, WC_demo).
- Under Additional Properties, click Map security roles to users/groups.
- Click Lookup users and locate the user whose role you wish to map.
- For that user, select the WCSecurityRole and click OK.
- Open the WebSphere Commerce Configuration Manager and select Instances List -> instance_name -> Instance Properties-> Security and select the Enable Security check box. Select Operating System User Registry for the authentication mode, and to enter the user name and password that you entered in step 1. Click Apply then exit Configuration Manager.
- Stop and restart the WebSphere Application Server administration server. From now on, when you open the WebSphere Application Server Administration Console, you will be prompted for the Security Server ID and password.