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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringencodeToBase64(String decodedString) voidintercept(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:ClientRequestInterceptorGets invoked before a request is sent to the http server- Specified by:
interceptin interfaceClientRequestInterceptor- Parameters:
requestContext- provides the data of the request and offers methods to change it
-
encodeToBase64
-