public class DownloaderAuthenticationKeycloakConfig extends AbstractDownloaderAuthenticationConfig implements DownloaderAuthenticationConfig, LabeledValue<DownloaderAuthenticationConfig>
providerName, serviceUrlCONFIG_PROVIDERNAME_NAME, CONFIG_SERVICEURL_NAME| Constructor and Description |
|---|
DownloaderAuthenticationKeycloakConfig() |
DownloaderAuthenticationKeycloakConfig(DownloaderAuthenticationKeycloakFactory factory,
java.lang.String serviceUrl) |
| Modifier and Type | Method and Description |
|---|---|
DownloaderAuthenticationKeycloakRequester |
create() |
DownloaderAuthenticationConfig |
createAuthenticationConfig(java.lang.String serviceUrl) |
void |
fromJson(JsonObject json) |
java.lang.String |
getClientid() |
DownloaderAuthenticationKeycloakFactory |
getFactory() |
java.lang.String |
getKey() |
java.lang.String |
getKeycloakBaseurl() |
java.lang.String |
getLabel() |
int |
getLocalPort() |
java.lang.String |
getRealm() |
java.lang.String |
getScope() |
DownloaderAuthenticationKeycloakConfig |
getValue() |
boolean |
isConfigurable() |
boolean |
isFilled() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
boolean |
requestAuthenticationConfig() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
static void |
selfRegister() |
void |
setClientid(java.lang.String clientid) |
void |
setKeycloakBaseurl(java.lang.String keycloakBaseurl) |
void |
setLocalPort(int localPort) |
void |
setRealm(java.lang.String realm) |
void |
setScope(java.lang.String scope) |
JsonObjectBuilder |
toJsonBuilder() |
java.lang.String |
toString() |
clone, getProviderName, getServiceUrlequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProviderName, getServiceUrlclone, cloneQuietly, cloneQuietlytoJson, toJson, toJsonBuilderlabelpublic DownloaderAuthenticationKeycloakConfig(DownloaderAuthenticationKeycloakFactory factory, java.lang.String serviceUrl)
public DownloaderAuthenticationKeycloakConfig()
public DownloaderAuthenticationKeycloakFactory getFactory()
getFactory in interface DownloaderAuthenticationConfiggetFactory in class AbstractDownloaderAuthenticationConfigpublic java.lang.String getKey()
getKey in interface DownloaderAuthenticationConfiggetKey in class AbstractDownloaderAuthenticationConfigpublic int getLocalPort()
public java.lang.String getKeycloakBaseurl()
public java.lang.String getRealm()
public java.lang.String getClientid()
public java.lang.String getScope()
public void setKeycloakBaseurl(java.lang.String keycloakBaseurl)
public void setLocalPort(int localPort)
public void setRealm(java.lang.String realm)
public void setClientid(java.lang.String clientid)
public void setScope(java.lang.String scope)
public DownloaderAuthenticationKeycloakRequester create()
create in interface DownloaderAuthenticationConfigpublic boolean isConfigurable()
isConfigurable in interface DownloaderAuthenticationConfigisConfigurable in class AbstractDownloaderAuthenticationConfigpublic boolean isFilled()
isFilled in interface DownloaderAuthenticationConfigisFilled in class AbstractDownloaderAuthenticationConfigpublic boolean requestAuthenticationConfig()
requestAuthenticationConfig in interface DownloaderAuthenticationConfigrequestAuthenticationConfig in class AbstractDownloaderAuthenticationConfigpublic void fromJson(JsonObject json)
fromJson in interface SupportFromJsonfromJson in class AbstractDownloaderAuthenticationConfigpublic JsonObjectBuilder toJsonBuilder()
toJsonBuilder in interface SupportToJsontoJsonBuilder in class AbstractDownloaderAuthenticationConfigpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentsaveToState in class AbstractDownloaderAuthenticationConfigPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentloadFromState in class AbstractDownloaderAuthenticationConfigPersistenceExceptionpublic static void selfRegister()
public java.lang.String getLabel()
getLabel in interface LabeledValue<DownloaderAuthenticationConfig>public DownloaderAuthenticationKeycloakConfig getValue()
getValue in interface LabeledValue<DownloaderAuthenticationConfig>public java.lang.String toString()
toString in interface LabeledValue<DownloaderAuthenticationConfig>toString in class java.lang.Objectpublic DownloaderAuthenticationConfig createAuthenticationConfig(java.lang.String serviceUrl)
createAuthenticationConfig in interface DownloaderAuthenticationConfig