Class KeyRequest


  • public class KeyRequest
    extends Object
    This is the generic key request with an id as parameter. The static serverUrl will be used if available. Otherwise, the serviceId will be used to lookup the key service. There are two sub classes for signature verification and access token verification with different configurations in the client.yml file.
    Author:
    Steve Hu
    • Field Detail

      • serverUrl

        protected String serverUrl
      • proxyHost

        protected String proxyHost
      • proxyPort

        protected int proxyPort
      • serviceId

        protected String serviceId
      • clientId

        protected String clientId
      • clientSecret

        protected String clientSecret
      • enableHttp2

        protected boolean enableHttp2
    • Constructor Detail

      • KeyRequest

        public KeyRequest​(String kid)
    • Method Detail

      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • getClientId

        public String getClientId()
      • setClientId

        public void setClientId​(String clientId)
      • getClientSecret

        public String getClientSecret()
      • setClientSecret

        public void setClientSecret​(String clientSecret)
      • getServerUrl

        public String getServerUrl()
      • setServerUrl

        public void setServerUrl​(String serverUrl)
      • getServiceId

        public String getServiceId()
      • setServiceId

        public void setServiceId​(String serviceId)
      • isEnableHttp2

        public boolean isEnableHttp2()
      • setEnableHttp2

        public void setEnableHttp2​(boolean enableHttp2)
      • getKid

        public String getKid()
      • setKid

        public void setKid​(String kid)
      • getProxyHost

        public String getProxyHost()
      • setProxyHost

        public void setProxyHost​(String proxyHost)
      • getProxyPort

        public int getProxyPort()
      • setProxyPort

        public void setProxyPort​(int proxyPort)