[ 
https://issues.apache.org/jira/browse/RAMPART-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Lazarski updated RAMPART-396:
------------------------------------
    Fix Version/s: 1.8.0

> NullPointerException using STS, Trust and entropy
> -------------------------------------------------
>
>                 Key: RAMPART-396
>                 URL: https://issues.apache.org/jira/browse/RAMPART-396
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.6.2
>         Environment: All
>            Reporter: Artyom Kurbatsky
>            Assignee: Robert Lazarski
>            Priority: Major
>             Fix For: 1.8.0
>
>         Attachments: RAMPART-396.patch, policy.xml, stackTrace.txt
>
>
> Actually NullPointerException comes from Rahas STSClient->createIssueRequest:
> {code}
> this.requestorEntropy =
>                             WSSecurityUtil.generateNonce(this.algorithmSuite.
>                                     getMaximumSymmetricKeyLength()/8);
> {code} 
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to