Skip to end of metadata
Go to start of metadata

PicketLink AS7 Console and Extension

Along with the PicketLink, two useful projects were released too:

Give them a try !

Download Files

Check our Installation Guide for more information about how to configure PicketLink with your JBoss Application Server v7 installation.

You can also download the PicketLink Installer from the link bellow.

You will need two jar files :  PicketLink Core Jar  as well as a Bindings jar (based on the server).

PicketLink Installer:

PicketLink Installer:  https://repository.jboss.org/nexus/content/groups/public/org/picketlink/picketlink-installer/2.1.5-2012Sep04/picketlink-installer-2.1.5-2012Sep04.zip

PicketLink Core Jar:

PicketLink Core:  https://repository.jboss.org/nexus/content/groups/public/org/picketlink/picketlink-core/2.1.5-2012Sep04/picketlink-core-2.1.5-2012Sep04.jar

Bindings Jar:

Updating the PicketLink module in JBoss AS 7

In order to use this version in JBoss AS 7 you need to update the PicketLink module. Please take a look at the Installation Guide.

PicketLink Quickstarts (Example applications)

PicketLink provides some useful examples about using some core features. Give it a try:

Release Notes

This is a previous version of the 2.1.5.Final.

The most important changes are related with the WS Handlers and the PicketLink Authenticator:

Those components are now tested and working with JBoss Application Server v7.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Nov 05, 2012

    I still cannot get the WS handlers to work using this version of picket link. When i try to deploy a ws with the WS handlers I get a class not found exception

    Caused by: java.lang.ClassNotFoundException: org.picketlink.trust.jbossws.handler.WSAuthorizationHandler from [Module "deployment.pojo-test.war:main" from Service Module Loader]

    Is it still packaged the same ?

    1. Nov 05, 2012

      Have you updated the org.picketlink module properly ?

      This documentation may be useful:

      Also, do not forget to provide a META-INF/jboss-deployment-structure.xml inside your deployment with the org.picketlink module as a dependency.

      Regards.

      1. Nov 06, 2012

        Now that leads to the next class not found error

        java.lang.NoClassDefFoundError: Lorg/jboss/wsf/spi/invocation/SecurityAdaptorFactory;

        I do not see the org.jboss.wsf.spi  package (JBoss WS 3.4.x in the deployed modules in jboss as 7.

        The only package that i see is org.jboss.ws.spi but that is JBoss WS 4.o.x.

        Why are picket link jars using JBoss WS 3.4.x that is not packaged with JBoss AS 7.

        Any insights into how i can get past this dependency error ?

        1. Nov 06, 2012

          Recently we made some changes as you noticed to get the WS and EJB support working with JBoss AS 7.

          You're probably getting this error because the org.picketlink module configuration has changed. Those changes should be present in the next releases of the JBoss AS.

          For now you can just add the following dependencies to the org.picketlink module configuration: 

              <module name="org.jboss.ws.api" />
              <module name="org.jboss.ws.spi" />
              <module name="org.apache.cxf" />

          You can see the complete configuration at https://github.com/picketlink/picketlink-integration-tests/blob/master/integration-tests/jboss-as7/src/test/resources/xslt/changePicketLinkModule.xslt.

          Please, discard the XSLT code and copy and paste only the module configuration.

          Regards.

          1. Nov 06, 2012

            Those dependencies are JBoss WS 4.0.x packages but the picketlink trust code is using JBoss WS 3.4.x packaging

            org/jboss/wsf/spi/invocation/SecurityAdaptorFactory

            and not org.jboss.ws.sp.*

            The code here http://anonsvn.jboss.org/repos/picketlink/trust/trunk/jbossws/src/main/java/org/picketlink/trust/jbossws/handler/WSAuthenticationHandler.java uses the following import
            import org.jboss.wsf.spi.invocation.SecurityAdaptor;

            and that does not exist in any jar under modules in jboss as7

            1. Nov 06, 2012

              We are not using the SVN repository anymore, but github:

              Regarding the missing classes/modules. If you're using JBoss AS 7.1.1.Final you should have them at modules/org/jboss/ws/spi/main.

          2. Nov 06, 2012

            When i try to get a client access the secured web service I get the following

            java.lang.NoSuchMethodError: org.jboss.logging.Logger.getMessageLogger(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
                at org.picketlink.identity.federation.PicketLinkLoggerMessages.<clinit>(PicketLinkLoggerMessages.java:41)

            Does the jboss logging dependency used by picket link different from jboss-logging 3.1.0.GA ?

            1. Nov 06, 2012

              I would suggest to move this discussion to the user forum. There you can give more details about your environment like JBoss AS 7 version, some code, etc.

              Makes sense ? After that we can post here the link to the thread so that others can follow this topic.

              Cheers.