Class VaultEnvironmentRepository

  • All Implemented Interfaces:
    EnvironmentRepository, org.springframework.core.Ordered

    @Validated
    public class VaultEnvironmentRepository
    extends AbstractVaultEnvironmentRepository
    Deprecated.
    Prefer SpringVaultEnvironmentRepository instead of this environment repository implementation. The alternative implementation supports additional features including more authentication options, support for several underlying HTTP client libraries, and better SSL configuration.
    Author:
    Spencer Gibb, Mark Paluch, Haroun Pacquee, Haytham Mohamed, Scott Frederick
    • Constructor Detail

      • VaultEnvironmentRepository

        public VaultEnvironmentRepository​(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request,
                                          EnvironmentWatch watch,
                                          org.springframework.web.client.RestTemplate rest,
                                          VaultEnvironmentProperties properties)
        Deprecated.
      • VaultEnvironmentRepository

        public VaultEnvironmentRepository​(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request,
                                          EnvironmentWatch watch,
                                          org.springframework.web.client.RestTemplate rest,
                                          VaultEnvironmentProperties properties,
                                          ConfigTokenProvider tokenProvider)
        Deprecated.
    • Method Detail

      • setHost

        public void setHost​(String host)
        Deprecated.
      • setPort

        public void setPort​(int port)
        Deprecated.
      • setScheme

        public void setScheme​(String scheme)
        Deprecated.
      • setBackend

        public void setBackend​(String backend)
        Deprecated.
      • setNamespace

        public void setNamespace​(String namespace)
        Deprecated.