SSM Installation and Configuration Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Configuring the WebSphere SSM

This section describes how to configure and set up the WebSphere SSM. It also describes a simple application that demonstrates how to retrieve basic security services and use them for authentication and authorization.



WARNING: If the WLS or WLS 8.1 SSM is running on the same machine, the WebSphere SSM must be installed and run in a different BEA_HOME. During installation in the new BEA_HOME, be sure to enter different values for the SCM name.


Configuration Steps

  1. After the WebSphere SSM is installed, make sure the following steps have been completed:
  1. Create the WebSphere SSM instance by running BEA_HOME\ales32-ssm\websphere-ssm\adm\instancewizard.cmd.
  2. In Windows, this can be done by opening the Start menu and selecting Oracle Entitlements Server > Security Service Module > Websphere Security Service Module > Create New Instance.

  3. If you are using a MS SQL, PointBase, or DB2 database, the location of the JDBC driver must be specified by opening the instance’s set-env.bat|sh in an editor and appending the JDBC driver to the CLASSPATH environment variable.
  4. Example:

    set CLASSPATH=%CLASSPATH%;%INSTALL_HOME%\lib\antlr.jar
    set CLASSPATH=%CLASSPATH%;%INSTALL_HOME%\lib\jaxrpc.jar
    set CLASSPATH=%CLASSPATH%;f:\pbclient51.jar
  5. Set up the JavaAPIExample in the BEA_HOME/ales32-ssm/websphere-ssm/examples directory.
  6. Start the SCM and run the JavaAPIExample using the defaults.
  7. Copy the contents of BEA_HOME\ales32-ssm\websphere-ssm\<instance>\config\websphere-server.xml into BEA_HOME/websphere-ssm/AppServer/profiles/AppSrv01/config/cells/terminatorNode01Cell/nodes/terminatorNode01/servers/server1/server.xml.
  8. Note: Make sure the xml blocks are inserted in the correct section.

  9. Start the WebSphere Server by running the following script:
  10. BEA_HOME/websphere-ssm/AppServer/profiles/AppSrv01/bin/startServer.bat|sh.
  11. Set JAVA_HOME in BEA_HOME\ales32-ssm\websphere-ssm\examples\PolicyQueryWebApp\set-env.bat|sh.
  12. Run BEA_HOME\ales32-ssm\websphere-ssm\examples\PolicyQueryWebApp\set-env.bat|sh.
  13. Run ant all to build the example.
  14. Log in to the WebSphere Server console and deploy /dist/PolicyQueryApp.war.
  15. Open a browser window and go to the deployed PolicyQueryApp application. For example:
  16. http://<myhost>:9080/PolicyQueryApp/index.jsp

  17. When you accept all the defaults and click on Submit, you should get the following on the access.jsp page:
  18.         Your Inputs
    user: system
    privilege: buy
    resource: store/book
    attributes: canbuy=yes;attrname=value
    Evaluation Results
    Response Attributes
    No response attribute is returned!

  Back to Top       Previous  Next