[ 
https://issues.apache.org/jira/browse/RAMPART-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643981#action_12643981
 ] 

Nandana Mihindukulasooriya commented on RAMPART-201:
----------------------------------------------------

Hi Bob,
   Yes, exactly. These are two comments I did to fix that issue. Can do the 
same with certificates, test and submit a patch. Anyway we iterate through the 
results so we would only need to check for signing action while we are 
iterating and properly set it in the message context. 

http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartMessageData.java?p2=%2Fwebservices%2Frampart%2Ftrunk%2Fjava%2Fmodules%2Frampart-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Frampart%2FRampartMessageData.java&p1=%2Fwebservices%2Frampart%2Ftrunk%2Fjava%2Fmodules%2Frampart-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Frampart%2FRampartMessageData.java&r1=671898&r2=671897&view=diff&pathrev=671898
http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartEngine.java?p2=%2Fwebservices%2Frampart%2Ftrunk%2Fjava%2Fmodules%2Frampart-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Frampart%2FRampartEngine.java&p1=%2Fwebservices%2Frampart%2Ftrunk%2Fjava%2Fmodules%2Frampart-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Frampart%2FRampartEngine.java&r1=671899&r2=671898&view=diff&pathrev=671899

thanks,
nandana


> Add alias/certificate used for validating signature
> ---------------------------------------------------
>
>                 Key: RAMPART-201
>                 URL: https://issues.apache.org/jira/browse/RAMPART-201
>             Project: Rampart
>          Issue Type: Improvement
>          Components: rampart-core
>            Reporter: Bob Jacoby
>            Assignee: Nandana Mihindukulasooriya
>            Priority: Minor
>
> Set the alias (or certificate) Rampart used to verify the signature as a 
> property in the message context.
> Reason:
> To allow other modules/handlers to know which certificate was associated with 
> the signature. Rampart already performs this lookup within the keystore given 
> the token reference within the security header. By including either the 
> certificate or alias found during the lookup, subsequent code can use this 
> information for various purposes (e.g. - retrieve externally stored 
> properties based on the certificate used).

-- 
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