[
https://issues.apache.org/jira/browse/CXF-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16417417#comment-16417417
]
Dietmar Temme commented on CXF-7687:
------------------------------------
Great! Thank you. And Version 3.2.4 already published!
> 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)