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

SCTIssuer gets NPE if addRequestedUnattachedRef or addRequestedAttachedRef in SCTIssuerConfig is set to false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1, 1.2, 1.3
    • None
    • rampart-trust
    • None
    • all

    Description

      if addRequestedUnattachedRef or addRequestedAttachedRef in SCTIssuerConfig is set to false
      the following lines could lead to a NPE:

      sctToken.setUnattachedReference(reqAttachedRef.getFirstElement());
      sctToken.setAttachedReference(reqAttachedRef.getFirstElement());

      P.S.: a second bug is in the lines above. The unattachedReference gets a reqattachedRef. This should be
      a reqUnattachedRef.

      Attachments

        Activity

          People

            Unassigned Unassigned
            berndi Bernhard Roider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: