Added by Sebastian Gonzalez Oyuela, last edited by Sebastian Gonzalez Oyuela on Jan 07, 2009
()
Labels:
Index
Introduction
This guide will walk you through the steps to get a JOSSO 1.8 Gateway (IdP) build up and running in JBoss 4.2.
Prerequisites
To make a quick JOSSO setup we will need:
- JDK 1.5 : For optimal results, confirm that your JDK version matches a JDK listed at http://java.sun.com/javase/downloads/index_jdk5.jsp
- JBoss 4.2.x
- JOSSO 1.8
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
- JBoss 4.2.3.GA is located at /opt/jboss-4.2.3.GA
- 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/jboss-4.2.3.GA --jboss-instance default --platform jb42
You should see something like this :
josso> gateway install --target /opt/jboss-4.2.3.GA --jboss-instance default --platform jb42 Deploying JBoss AS 4.2.x JOSSO Gateway v.1.8.0 Verify Target JBoss AS 4.2.x JBoss AS 4.2.x [OK ] Directory Layout JBossHome [OK ] Install JOSSO Gateway Configuration Generating ['Remember Me' AES key] [OK ] Created file:///tmp/josso-auth.properties Installing [josso-auth.properties] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/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/jboss-4.2.3.GA/server/default/conf/josso-gateway-stores.xml Installing [josso-gateway-memory-stores.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-memory-stores.xml Installing [josso-gateway-ldap-stores.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-ldap-stores.xml Installing [josso-gateway-web.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-web.xml Installing [josso-gateway-selfservices.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-selfservices.xml Installing [josso-gateway-jmx.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-jmx.xml Installing [josso-gateway-auth.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-auth.xml Installing [josso-users.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-users.xml Installing [josso-credentials.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-credentials.xml Installing [josso-gateway-db-stores.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-db-stores.xml Installing [josso-gateway-config.xml] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/conf/josso-gateway-config.xml Deploy JOSSO Gateway Application Installing [] [OK ] Created file:///opt/jboss-4.2.3.GA/server/default/deploy/josso.war Unjar [josso-gateway-web-1.8.0.war] [OK ] file:///opt/jboss-4.2.3.GA/server/default/deploy JBoss AS 4.2.x 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! josso>
You can see all the console activity, this information will also be recorded in a log file created in josso-1.8.0/log/.