Class DownloaderAuthenticationKeycloakRequester

java.lang.Object
org.gvsig.downloader.spi.AbstractDownloaderAuthenticationRequester
org.gvsig.downloader.swing.scribejava.keycloak.DownloaderAuthenticationKeycloakRequester
All Implemented Interfaces:
org.gvsig.downloader.DownloaderAuthenticationRequester

public class DownloaderAuthenticationKeycloakRequester extends org.gvsig.downloader.spi.AbstractDownloaderAuthenticationRequester implements org.gvsig.downloader.DownloaderAuthenticationRequester
Author:
gvSIG Team
  • Constructor Details

  • Method Details

    • getConfig

      Specified by:
      getConfig in interface org.gvsig.downloader.DownloaderAuthenticationRequester
      Overrides:
      getConfig in class org.gvsig.downloader.spi.AbstractDownloaderAuthenticationRequester
    • requestAuthorization

      public boolean requestAuthorization(Executor executorUI)
      Specified by:
      requestAuthorization in interface org.gvsig.downloader.DownloaderAuthenticationRequester
    • userInfo

      public javax.json.JsonObject userInfo(com.github.scribejava.core.oauth.OAuth20Service service) throws InterruptedException, IOException, ExecutionException
      Throws:
      InterruptedException
      IOException
      ExecutionException
    • waitForResponse

      public void waitForResponse(Executor executorUI)
    • stopWaitingForResponse

      public void stopWaitingForResponse()
    • getCredentials

      public DownloaderKeycloakCredentials getCredentials()
      Specified by:
      getCredentials in interface org.gvsig.downloader.DownloaderAuthenticationRequester
    • setCredentials

      public void setCredentials(DownloaderKeycloakCredentials credentials)