[
https://issues.apache.org/jira/browse/RAMPART-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruchith Udayanga Fernando resolved RAMPART-66.
----------------------------------------------
Resolution: Fixed
Thanks for pointing these issues out!
Fixed in both trunk and 1.3 branch :
http://svn.apache.org/viewvc?view=rev&rev=563704
> SCTIssuer gets NPE if addRequestedUnattachedRef or addRequestedAttachedRef in
> SCTIssuerConfig is set to false
> -------------------------------------------------------------------------------------------------------------
>
> Key: RAMPART-66
> URL: https://issues.apache.org/jira/browse/RAMPART-66
> Project: Rampart
> Issue Type: Bug
> Components: rampart-trust
> Affects Versions: 1.1, 1.2, 1.3
> Environment: all
> Reporter: Bernhard Roider
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.