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 DelineaSecret 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 aDelineaSecretDtofrom Delinea DelineaSecret Server, includingfileAttachmentsThis is currently not used by theDelineaCredentialFactoryMethods 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, setUriTemplateHandlerMethods inherited from class org.springframework.http.client.support.InterceptingHttpAccessor
getInterceptors, getRequestFactory, setInterceptors, setRequestFactoryMethods inherited from class org.springframework.http.client.support.HttpAccessor
createRequest, getClientHttpRequestInitializers, setClientHttpRequestInitializers
-
Constructor Details
-
DelineaClient
public DelineaClient()
-
-
Method Details
-
getSecret
Fetch and return aDelineaSecretDtofrom Delinea DelineaSecret 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
DelineaSecretDtoobject
-
getSecrets
This is currently not used by theDelineaCredentialFactory- Returns:
- a list of all Secrets
-