public class DownloaderAuthenticationKeycloakFactory extends AbstractDownloaderAuthenticationFactory implements DownloaderAuthenticationFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AUTH_MODE_KEYCLOAK |
| Constructor and Description |
|---|
DownloaderAuthenticationKeycloakFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCallback(DownloaderAuthenticationKeycloakConfig config,
java.lang.String contextPath,
com.sun.net.httpserver.HttpHandler handler) |
DownloaderAuthenticationKeycloakConfig |
create(java.lang.Object... parameters) |
java.lang.String |
getDescription() |
com.sun.net.httpserver.HttpServer |
getHttpServer(DownloaderAuthenticationKeycloakConfig config) |
void |
removeCallback(DownloaderAuthenticationKeycloakConfig config,
java.lang.String contextPath) |
static void |
selfRegister() |
void |
stopHttpServer(int delay) |
getProviderName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProviderNamepublic static final java.lang.String AUTH_MODE_KEYCLOAK
public DownloaderAuthenticationKeycloakFactory()
public DownloaderAuthenticationKeycloakConfig create(java.lang.Object... parameters)
create in interface DownloaderAuthenticationFactorypublic com.sun.net.httpserver.HttpServer getHttpServer(DownloaderAuthenticationKeycloakConfig config) throws java.io.IOException
java.io.IOExceptionpublic void stopHttpServer(int delay)
public void addCallback(DownloaderAuthenticationKeycloakConfig config, java.lang.String contextPath, com.sun.net.httpserver.HttpHandler handler) throws java.io.IOException
java.io.IOExceptionpublic void removeCallback(DownloaderAuthenticationKeycloakConfig config, java.lang.String contextPath) throws java.io.IOException
java.io.IOExceptionpublic static void selfRegister()
public java.lang.String getDescription()
getDescription in interface DownloaderAuthenticationFactorygetDescription in class AbstractDownloaderAuthenticationFactory