Added by Sebastian Gonzalez Oyuela, last edited by Sebastian Gonzalez Oyuela on Jan 07, 2009

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Index

Introduction

This guide will walk you through the steps to get a JOSSO 1.8 Gateway (IdP) build up and running in Weblogic 10.0

Prerequisites

To make a quick JOSSO setup we will need:

For the purposes of this guide, we will assume the following facts:

  • JDK 1.5.0 16 is located at /opt/jdk1.5.0_16
  • Weblogic 10.0 M1 is located at /opt/bea/wlserver_10.0
  • JOSSO 1.8.0 is located at /opt/josso-1.8.0

Install

First we will start JOSSO Deployment Console.

$ cd /opt/josso-1.8.0/bin
$ ./josso-gsh
    __ _____ _____ _____ _____ 
 __|  |     |   __|   __|     |
|  |  |  |  |__   |__   |  |  |
|_____|_____|_____|_____|_____|

 JOSSO (1.8.0)

Type 'help' for more information.
--------------------------------------
josso> 

Now we have to execute the gateway install command as shown below:

josso> gateway install --target /opt/bea/wlserver_10.0 --platform wl10 --weblogic-domain samples/domains/wl_server

You should see something like this :

josso> gateway install --target /opt/bea/wlserver_10.0 --platform wl10 --weblogic-domain samples/domains/wl_server

Deploying Weblogic 10.0+ JOSSO Gateway v.1.8.0

Verify Target Weblogic 10.0+
  Weblogic 10.0+                                           [OK   ] Directory Layout
  WeblogicHome                                             [OK   ] 
  WeblogicDomain                                           [OK   ] file:///opt/bea/wlserver_10.0/samples/domains/wl_server

Install JOSSO Gateway Configuration
  Generating    ['Remember Me' AES key]                    [OK   ] Created file:///tmp/josso-auth.properties
  Installing    [josso-auth.properties]                    [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-auth.properties
  Using         ['memory' default configuration]           [OK   ] Installing josso-gateway-memory-stores.xml as josso-gateway-stores.xml
  Installing    [josso-gateway-memory-stores.xml]          [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-stores.xml
  Installing    [josso-gateway-memory-stores.xml]          [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-memory-stores.xml
  Installing    [josso-gateway-ldap-stores.xml]            [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-ldap-stores.xml
  Installing    [josso-gateway-web.xml]                    [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-web.xml
  Installing    [josso-gateway-selfservices.xml]           [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-selfservices.xml
  Installing    [josso-gateway-jmx.xml]                    [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-jmx.xml
  Installing    [josso-gateway-auth.xml]                   [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-auth.xml
  Installing    [josso-users.xml]                          [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-users.xml
  Installing    [josso-credentials.xml]                    [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-credentials.xml
  Installing    [josso-gateway-db-stores.xml]              [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-db-stores.xml
  Installing    [josso-gateway-config.xml]                 [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/josso-gateway-config.xml

Deploy JOSSO Gateway Application
  Installing    [josso-gateway-web-1.8.0.war]              [OK   ] Created file:///opt/bea/wlserver_10.0/samples/domains/wl_server/autodeploy/josso.war

Weblogic 10.0+ JOSSO Gateway v.1.8.0
  Overall Installation                                     [OK   ] Successfull!

Congratulations! You successfully installed the gateway.
Now Follow the JOSSO Gateway Configuration guide and setup JOSSO for your needs!

You can see all the console activity, this information will also be recorded in a log file created in josso-1.8.0/log/.

Deploy the Gateway Application using Weblogic Console

To deploy the Gateway application using Weblogic Administration Console, simple use the josso.war file that the installer copied to //opt/bea/wlserver_10.0/samples/domains/wl_server/autodeploy/josso.war. Remove it from the autodeploy folder and deploy it as you do with other war files. You still have to perform the install process.