axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artyom Kurbatsky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RAMPART-396) NullPointerException using STS, Trust and entropy
Date Fri, 26 Oct 2012 16:51:13 GMT

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

Artyom Kurbatsky updated RAMPART-396:
-------------------------------------

    Description: 
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.

  was:
Actually NullPointerException comes from Rahas STSClient->createIssueRequest:
{code:java} 
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.

    
> 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-trust
>    Affects Versions: 1.6.2
>         Environment: All
>            Reporter: Artyom Kurbatsky
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message