ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WSS-498) Retrieving of public key from certificates in missing for signed results in compare credential method of org.apache.wss4j.dom.saml.DOMSAMLUtil
Date Thu, 24 Apr 2014 14:50:17 GMT

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

Colm O hEigeartaigh resolved WSS-498.
-------------------------------------

    Resolution: Fixed

> Retrieving of public key from certificates in missing for signed results in compare credential
method of  org.apache.wss4j.dom.saml.DOMSAMLUtil
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WSS-498
>                 URL: https://issues.apache.org/jira/browse/WSS-498
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 2.0.0
>            Reporter: Renu
>            Assignee: Colm O hEigeartaigh
>             Fix For: 2.0.0
>
>         Attachments: DOMSAMLUtil.java
>
>
> org.apache.wss4j.dom.saml.DOMSAMLUtil compareCredentials , there is a check to compare
the certificates , public key and secret key. There might be a case when client signed results
contain public key and subjectKeyInfo contains certificate. There should be an additional
check the retreive the public key from certificate whenever public key is null
> "if(subjectPublicKey == null && subjectCerts != null && subjectCerts.length>
0){
> subjectPublicKey = subjectCerts[0].getPublicKey();}"



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message