Class BasicAuthProvider
java.lang.Object
org.camunda.bpm.client.interceptor.auth.BasicAuthProvider
- All Implemented Interfaces:
ClientRequestInterceptor
Provides HTTP Basic Authentication by using the request interceptor api
- Author:
- Tassilo Weidner
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
encodeToBase64
(String decodedString) void
intercept
(ClientRequestContext requestContext) Gets invoked before a request is sent to the http server
-
Field Details
-
LOG
-
username
-
password
-
-
Constructor Details
-
BasicAuthProvider
-
-
Method Details
-
intercept
Description copied from interface:ClientRequestInterceptor
Gets invoked before a request is sent to the http server- Specified by:
intercept
in interfaceClientRequestInterceptor
- Parameters:
requestContext
- provides the data of the request and offers methods to change it
-
encodeToBase64
-