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

NullPointerException using STS, Trust and entropy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.2
    • Fix Version/s: None
    • Component/s: rampart-core
    • Labels:
      None
    • Environment:
      All

      Description

      Actually NullPointerException comes from Rahas STSClient->createIssueRequest:

      this.requestorEntropy =
                                  WSSecurityUtil.generateNonce(this.algorithmSuite.
                                          getMaximumSymmetricKeyLength()/8);
      

      this.algorithmSuite is always null. You can see from stack trace that this STSClient instance is created in RampartUtil->getToken and there is no place where algorithmSuite can be set.

        Attachments

        1. policy.xml
          5 kB
          Artyom Kurbatsky
        2. RAMPART-396.patch
          2 kB
          Suresh Attanayake
        3. stackTrace.txt
          2 kB
          Artyom Kurbatsky

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jenotu_pavelnieks Artyom Kurbatsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: