Example: Migrating - Enabling security
The following examples demonstrate how to enable security for WebSphere Application Server V4.0 and V5.0:
- wscp V4.0
SecurityConfig setAuthenticationMechanism LOCALOS -userid {me secret} SecurityConfig enableSecurity- wsadmin V5.0
securityon [user [password]]This command turns on local security. The securityon function checks the validity of the user and password combination, and fails the function if the combination is invalid.Note: This action assumes that global security is fully configured before issuing this command and that you are just switching the enabled flag on and off. If global security is not yet fully configured, the command fails.