Lessons in Web Access Management – Josso – Part 1
by actionjack on February 20, 2012 | 3 comments
I’m currently looking for a Web Access Management tool to manage and control access to a number of hosted applications.
Wikipedia defines Web Access Management as:
Authentication Management
Policy-based Authorizations
Audit & Reporting Services
Single sign-on Convenience
I’ve had previous experience in this space using CA’s Siteminder product but this time I want to experience some “open” alternatives where the information on the use and configuration of the product isn’t as limited and the costs aren’t as great.
Initially I thought I’d have a look at JOSSO (Java Open Single Sign On)
Installing Josso
Download josso-ce-2.2.x.tar.gz from sf.net
cd /opt
tar zxvf /path/to/josso-ce-2.2.x.tar.gz
chown -R josso: /opt/josso-ce-2.2.x
su - josso
cd /opt/josso-ce-2.2.x/bin
./atricore
atricore: JAVA_HOME not set; results may vary
__ _____ _____ _____ _____ ___ _____ _____
__| | | __| __| | |_ | | | __|
| | | | |__ |__ | | | | _| | --| __|
|_____|_____|_____|_____|_____| |___| |_____|_____|
JOSSO 2 Community Edition (2.2.1)
Atricore Console (1.1.1) http://localhost:8081/atricore-console/
Atricore Identity Bus (1.2.1)
Apache Felix Karaf (2.2.1)
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'osgi:shutdown' to shutdown JOSSO 2 CE.
karaf@josso-ce>
Enter “osgi:list | grep Atricore” to confirm the services are started and running.
[ 41] [Resolved ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : Web Console Branding (1.2.1)
[ 148] [Active ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : Support (1.2.1)
[ 149] [Active ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : XML Digital Signature Binding (1.2.1)
[ 150] [Active ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : SPML 2 w/DSML Profile Binding (1.2.1)
[ 151] [Active ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : SAML R 2.0 Protocol Binding (1.2.1)
[ 152] [Active ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : SAML R1.1 Protocol Binding (1.2.1)
[ 153] [Active ] [ ] [ ] [ 60] Atricore IDBus :: Kernel : Atricore SSO 1.0 Protocol Binding (1.2.1)
...
Browse to http://jossohost:8081/atricore-console/ default login is admin:admin
3 comments
How to run the jar files? I try java -jar josso-x.x.x.jar and it’s error. I’m a newbie in java apps š
by panji on June 6, 2012 at 6:58 am. #
Hi Panji, I can’t remember off the top of my head but I think Josso run’s in a java container like Jetty or Tomcat, so you will need either of those to deploy the jar file to.
by actionjack on June 6, 2012 at 8:19 am. #
Hi! I try installation, but have an error!
Could not create framework: java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:371)
at java.util.ArrayList.get(ArrayList.java:384)
at org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
at org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
at org.apache.felix.framework.Felix.toString(Felix.java:1012)
at org.apache.felix.framework.Logger.doLog(Logger.java:128)
at org.apache.felix.framework.Logger._log(Logger.java:181)
at org.apache.felix.framework.Logger.log(Logger.java:114)
at org.apache.felix.framework.ExtensionManager.(ExtensionManager.java:201)
at org.apache.felix.framework.Felix.(Felix.java:374)
at org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)
at org.apache.karaf.main.Main.launch(Main.java:265)
at org.apache.karaf.main.Main.main(Main.java:423)
Error occured shutting down framework: java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.karaf.main.Main.awaitShutdown(Main.java:281)
at org.apache.karaf.main.Main.main(Main.java:431)
How to configure server, to launch atricore?
by Alex on July 18, 2013 at 1:35 pm. #