Cheatsheet: PicketLink and JBoss AS

    Version: PicketLink v2.0.0.final   Download here

     

    JBoss Application Server v7.0

    Instructions coming soon.

     

     

    JBoss Application Server v6.0 or v5.x

     

     

    Step 1.  Download JBoss Application Server v5.1.0 or v6.0 (Chose the zip file)

     

    Step 2: Unzip the jboss-5.1.0.GA.zip in your home directory.

     

    Step 3: Download picketlink-2.0.0.final.zip  (Full Distribution) from http://jboss.org/picketlink/downloads.html.

     

    Step 4. Unzip the picketlink-2.0.0.final.zip in the $HOME/jboss-5.1.0.GA/server/default/deploy directory

     

    After unzipping,  you should have a picketlink directory in the deploy directory.

     

     

    /jboss-6.0.0.Final/server/default/deploy/picketlink$ ls
    claims.war             idp.war                                       picketlink-fed-2.0.0.final.jar  sales-post.war
    employee-post-sig.war  openid4java-nodeps-0.9.5.jar                  picketlink-sp-jboss-beans.xml      sales-saml11.war
    employee-post.war      pdp.war                                       picketlink-sts-jboss-beans.xml     sales.war
    employee.war           picketlink-bindings-2.0.0.final.jar        picketlink-sts.war
    idp-sig.war            picketlink-bindings-jboss-2.0.0.final.jar  sales-post-sig.war
    
    

     

    Step 5:  Start JBoss AS 5.1/6.0 in the bin directory.

     

    Step 6: Go to browser  and enter:  http://localhost:8080/sales/

     

    Step 7: When redirected to login, enter:  username: tomcat    password:  tomcat

     

    Step 8: You should see the sales page.

     

    Step 9: Open a new tab in the browser:    http://localhost:8080/employee/

     

    You should see the employee page.

    NOTE:

    • If you passed anything to -b  except for localhost (i.e. you intend to use this on anything BUT localhost) you need to go edit every xml file in WEB-INF and change localhost to the value of -b (or whatever you're going to in the browser should work)