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

Colm O hEigeartaigh resolved CXF-7687.
--------------------------------------
    Resolution: Fixed

Now fixed, you cap specify "Bearer" for the authorization type + pass 
authorization header value in the AuthorizationPolicy.

> AuthorizationPolicy: AuthorizationType="Bearer" has no effect
> -------------------------------------------------------------
>
>                 Key: CXF-7687
>                 URL: https://issues.apache.org/jira/browse/CXF-7687
>             Project: CXF
>          Issue Type: Bug
>          Components: Core, Transports
>    Affects Versions: 3.2.3
>            Reporter: Dietmar Temme
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>             Fix For: 3.1.16, 3.2.4
>
>
> Adding an AuthorizationPolicy object with AuthorizationType set to "Bearer" 
> to the Client HTTPConduit object has no effect.
> No "Authorization: Bearer xxx" header is added to the cxf request.
> Workaround: add the Authorization header directly:
> {{client.getRequestContext().put(Message.PROTOCOL_HEADERS, 
> authorizationHeader);}}
> and authorizationHeader containing the desired header/value.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to