The AAF Forward Proxy is a forward proxy service with credential caching capabilities for incoming REST requests. It is one of two applications (along with Reverse proxy) deployed as a Kubernetes sidecar to the main Primary service
Forward Proxy:
The credential cache is a short-lived in-memory cache, keyed on a transaction ID. The following data is cached:
Credentials can be added to the credential cache by performing a REST POST using the following URL:
(Note that the transaction ID is provided as a URL parameter)
https://:/credential-cache/ The body of the request should contain the cached data (described above) in JSON format as follows:
{ "credentialName":"foo", "credentialValue":"bar", "credentialType":"<HEADER/COOKIE>" }
The fProxy service is configured through the fproxy.properties file that resides under the ${CONFIG_HOME} environment variable.
The file has the following configurable properties:
credential.cache.timeout.ms This is the time in milliseconds that a cache entry will expire after it is added. 180000 transactionid.header.name This is the name of the header in incoming requests that will contain the transaction ID. X-TransactionId