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
-
Field Summary
Fields inherited from class org.gvsig.downloader.spi.AbstractDownloaderAuthenticationRequester
config -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanrequestAuthorization(Executor executorUI) voidsetCredentials(DownloaderKeycloakCredentials credentials) voidjavax.json.JsonObjectuserInfo(com.github.scribejava.core.oauth.OAuth20Service service) voidwaitForResponse(Executor executorUI) Methods inherited from class org.gvsig.downloader.spi.AbstractDownloaderAuthenticationRequester
getProviderName, requestAuthorization, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.downloader.DownloaderAuthenticationRequester
getProviderName, requestAuthorization
-
Constructor Details
-
DownloaderAuthenticationKeycloakRequester
-
-
Method Details
-
getConfig
- Specified by:
getConfigin interfaceorg.gvsig.downloader.DownloaderAuthenticationRequester- Overrides:
getConfigin classorg.gvsig.downloader.spi.AbstractDownloaderAuthenticationRequester
-
requestAuthorization
- Specified by:
requestAuthorizationin interfaceorg.gvsig.downloader.DownloaderAuthenticationRequester
-
userInfo
public javax.json.JsonObject userInfo(com.github.scribejava.core.oauth.OAuth20Service service) throws InterruptedException, IOException, ExecutionException -
waitForResponse
-
stopWaitingForResponse
public void stopWaitingForResponse() -
getCredentials
- Specified by:
getCredentialsin interfaceorg.gvsig.downloader.DownloaderAuthenticationRequester
-
setCredentials
-