Complete the following steps to configure security for WebSphere Application Server when you
have Location Awareness Services for WebSphere Sensor Events installed.
Enabling security in WebSphere Application Server provides
security for the Spatial Management Client and
portlets.
About this task
Note: You should not perform the steps if Location Awareness Services for WebSphere Sensor Events is not
installed.
Procedure
- If you have not already done so, follow the steps to run the ws_security script and
enable security for WebSphere Application Server.
- Navigate to the root installation directory of Location Awareness Services for WebSphere Sensor Events (such
as, C:\LAS).
- Edit the las.config.properties file
and define the values for the WebSphere Application Server administrator
and the message queue user.
#---------------------------------------------------------------
# wasadmin WAS admin.
# waspswd Password for WAS admin.
#---------------------------------------------------------------
settings.7.name=wasadmin
settings.7.value=newUser
settings.8.name=waspswd
settings.8.value=newUser
#---------------------------------------------------------------
# meuser Message Queue user.
# mepswd Password message queue user.
#---------------------------------------------------------------
settings.9.name=meuser
settings.9.value=newUser
settings.10.name=mepswd
settings.10.value=newUser
The script expects that WebSphere Application Server security
is already enabled. The values for wasadmin and waspswd should reflect
the WebSphere Application Server administrative
user ID and password, respectively. These values can match the user
ID and password that you used previously with the ws_security script,
or they can match the ID and password for another WebSphere Application Server administrative
user that you have set.
- Open a command prompt and change to the LAS_HOME\WAS\scripts directory.
- Type ATLAS_MAIN -security enable at
the command-line prompt.
The script completes the following
actions:
- Creates the following groups on the operating system: lassmcadministergrp,
lasmonitorgrp, lasoperategrp, lasadministergrp, laslocategrp, lasregistrategrp,
lasconfiguregrp, and lascustomizegrp.
- Creates the user lasoveradmin with password lasoveradmin. This
superuser can run Location Awareness Services for WebSphere Sensor Events functions
in the WebSphere Application Server administrative console.
Use the lasoveradmin superuser for testing or proof-of-concept environments
only. The lasoveradmin user should not be used in production environments.
- Applies security settings.
- Restart WebSphere Application Server.
- Edit the LAS_HOME\AtlasIntegrator\Data_Export.properties file
to specify the real host name of your server instead of localhost.
- Verify that security is running by logging into the WebSphere Application Server administrative console. If
security is enabled, you are prompted for your WebSphere Application Server user ID
and password. A random user ID is no longer accepted.