cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5520) Setting SecurityConstants.STS_TOKEN_ON_BEHALF_OF as string improper handling
Date Fri, 24 Jan 2014 11:49:38 GMT

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

Colm O hEigeartaigh updated CXF-5520:
-------------------------------------

    Fix Version/s: 2.7.9
                   2.6.12
                   3.0.0-milestone2

> Setting SecurityConstants.STS_TOKEN_ON_BEHALF_OF as string improper handling
> ----------------------------------------------------------------------------
>
>                 Key: CXF-5520
>                 URL: https://issues.apache.org/jira/browse/CXF-5520
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 3.0.0-milestone1, 2.7.8
>            Reporter: Rebecca Searls
>            Assignee: Colm O hEigeartaigh
>             Fix For: 3.0.0-milestone2, 2.6.12, 2.7.9
>
>
> Using: cxf-tr-ws-security-2.7.8
> The code in org.apache.cxf.ws.security.trust.AbstractSTSClient
> that handles OnBehalfOf as a string requires a fully compliant XML
> stmt like this,
>     "<wst:OnBehalfOf xmlns:wst=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\">eve</wst:OnBehalfOf>"
> 807   if (isString) {
> 808     final Document doc =
> 809         StaxUtils.read(new StringReader((String) delegationObject));
> The documentation does not make it clear that this is the requirement.
> In addition based upon existing uses of SecurityConstants it is expected
> that a simple name should be acceptable in the case, for example
>     SecurityConstants.STS_TOKEN_ON_BEHALF_OF, "bob"



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message