3 Replies Latest reply on Sep 20, 2013 7:36 AM by postullat

    How can I generate SP metadata

    postullat

      Hi all,

       

      I would like generate metadata file for registration in the IDp.

       

      I develop SP based on SAML 2.0 with POST method and certificate.

      My jboss is 4.2.3.ga-crc version and I decided use picketlink 2.1.8 version.

      Yes, I know that picketlink supports only jboss 5 but I must to do it with jboss 4.2.3.

      Actually I have implemented a little part of SP and it can sends SAMLrequest to IDp and I need the metadata file which has to generate the SP.

       

       

      My configuration files are (attached):

       

      WEB-INF/context.xml

      WEB-INF/jboss-web.xml

      WEB-INF/picketlink.xml

      WEB-INF/web.xml

       

      It is draft configuration. As you can see I even have inserted key to the css directory:)

      After those configuration I added the next libs to the jboss.home/server/default/deploy directory:

      - picketlink-tomcat5-2.1.8.Final.jar

      - picketlink-core-2.1.8.Final.jar

      - picketbox-bare-3.0.0.Final.jar

      - jbosssx-3.0.0.Final.jar

      - jboss-security-spi-3.0.0.Final.jar

       

      So, when I start server and open my app in this path (http://localhost/crc/metadata) I receive following error:

      Http Status 500

      javax.servlet.ServletException: PL00102: Processing Exception:Unable to start servlet
      org.picketlink.identity.federation.web.servlets.saml.MetadataServlet.init(MetadataServlet.java:172)
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      java.lang.Thread.run(Thread.java:722)
      

       

      Could you please help me and write what I do wrong.