Class AbstractHTTPWithJWTTokenAuthEventSender

    • Field Detail

      • log

        protected static final org.slf4j.Logger log
      • baseEndpointURL

        protected URL baseEndpointURL
      • clientId

        protected String clientId
      • clientSecret

        protected String clientSecret
      • tokenURL

        protected URL tokenURL
      • connectionTimeout

        protected int connectionTimeout
      • readTimeout

        protected int readTimeout
    • Constructor Detail

      • AbstractHTTPWithJWTTokenAuthEventSender

        public AbstractHTTPWithJWTTokenAuthEventSender​(URL baseEndpointURL,
                                                       String clientId,
                                                       String clientSecret,
                                                       URL tokenURL)
    • Method Detail

      • getDefaultReadTimeout

        protected int getDefaultReadTimeout()
      • getDefaultConnectionTimeout

        protected int getDefaultConnectionTimeout()
      • getReadTimeout

        public int getReadTimeout()
      • setReadTimeout

        public void setReadTimeout​(int readTimeout)
      • getConnectionTimeout

        public int getConnectionTimeout()
      • setConnectionTimeout

        public void setConnectionTimeout​(int connectionTimeout)
      • getTokenURL

        protected URL getTokenURL()
      • getAuthorizationToken

        protected abstract org.gcube.oidc.rest.JWTToken getAuthorizationToken()
                                                                       throws org.gcube.oidc.rest.OpenIdConnectRESTHelperException
        Throws:
        org.gcube.oidc.rest.OpenIdConnectRESTHelperException