Dietmar Temme created CXF-7687:
----------------------------------
Summary: 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
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)