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

NullPointerException using STS, Trust and entropy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • rampart-core
    • None
    • 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. stackTrace.txt
          2 kB
          Artyom Kurbatsky
        2. policy.xml
          5 kB
          Artyom Kurbatsky
        3. RAMPART-396.patch
          2 kB
          Suresh Attanayake

        Activity

          People

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

            Dates

              Created:
              Updated: