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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getSecret(String id, String autoCommentValue)
    Fetch and return a Secret from Delinea Secret Server, including fileAttachments
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DelineaClient

      public DelineaClient()
  • Method Details

    • getSecret

      public Secret getSecret(String id, String autoCommentValue)
      Fetch and return a Secret from Delinea Secret Server, including fileAttachments
      Parameters:
      id - - the integer ID of the secret to be fetched
      autoCommentValue - - the auto comment value to be used if not empty
      Returns:
      the Secret object
    • getSecrets

      public List<String> getSecrets()
      Returns:
      a list of all Secrets