Class DelineaClient
java.lang.Object
org.springframework.http.client.support.HttpAccessor
org.springframework.http.client.support.InterceptingHttpAccessor
org.springframework.web.client.RestTemplate
org.frankframework.credentialprovider.delinea.DelineaClient
- All Implemented Interfaces:
org.springframework.web.client.RestOperations
public class DelineaClient
extends org.springframework.web.client.RestTemplate
RestTemplate implementation for the Delinea Secret Server REST API.
-
Field Summary
Fields inherited from class org.springframework.http.client.support.HttpAccessor
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFetch and return aSecret
from Delinea Secret Server, includingfileAttachments
This is currently not used by theDelineaCredentialFactory
Methods inherited from class org.springframework.web.client.RestTemplate
acceptHeaderRequestCallback, delete, delete, delete, doExecute, doExecute, exchange, exchange, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getErrorHandler, getForEntity, getForEntity, getForEntity, getForObject, getForObject, getForObject, getMessageConverters, getObservationConvention, getObservationRegistry, getUriTemplateHandler, handleResponse, headersExtractor, headForHeaders, headForHeaders, headForHeaders, httpEntityCallback, httpEntityCallback, optionsForAllow, optionsForAllow, optionsForAllow, patchForObject, patchForObject, patchForObject, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, postForObject, postForObject, postForObject, put, put, put, responseEntityExtractor, setDefaultUriVariables, setErrorHandler, setMessageConverters, setObservationConvention, setObservationRegistry, setUriTemplateHandler
Methods inherited from class org.springframework.http.client.support.InterceptingHttpAccessor
getInterceptors, getRequestFactory, setInterceptors, setRequestFactory
Methods inherited from class org.springframework.http.client.support.HttpAccessor
createRequest, getClientHttpRequestInitializers, setClientHttpRequestInitializers
-
Constructor Details
-
DelineaClient
public DelineaClient()
-
-
Method Details
-
getSecret
Fetch and return aSecret
from Delinea Secret Server, includingfileAttachments
- Parameters:
id
- - the integer ID of the secret to be fetchedautoCommentValue
- - the auto comment value to be used if not empty- Returns:
- the
Secret
object
-
getSecrets
This is currently not used by theDelineaCredentialFactory
- Returns:
- a list of all Secrets
-