Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-397

Custom STS cannot load custom issuer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • rampart-trust
    • None
    • Windows7 32 & 64 Tomcat 28 and 30 Axis2/Rampart deployment

    Description

      A: Description of Problem
      When creating a custom STS service as instructed by the documentation at the site:
      http://axis.apache.org/axis2/java/rampart/setting-up-sts.html
      and invoking the service, a 'class not found' exception is thrown. Therefore the token dispatcher cannot
      call the issue() method of the custom token issuer.

      B: Tests:
      If one performs all the tasks above and replaces the custom token issuer with the default rahas token
      issuer, the default issuer is successfully loaded.

      C: Addtional information:
      The documentation states to remove the rampart module. Those instructions are clearly in error. It is
      assumed that the module to removed is the rahas.mar module.

      D: Workaround:
      The approach I am taking requires the Rahas/Rampart source distribution. In this case I implement my
      custom token issuer in the same impl package as the default token issuer. Then I modify the rahas.mar
      file to point to my custom issuer. In my case I am writing an issuer for a SAML20 token so I replaced
      that issuer. The new class file needs to be added to the rahas-1.6.2.jar in the axis2/webapps/lib directory.

      E: Remark:
      There is probably a simple step missing from the documentation preventing me from implementing the
      custom issuer as intended. I also noted callbacks in the source code but I could not find any
      documentation on how to use them; though they may not be intended for applications.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gyannea Brian Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: