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.

Reply via email to