protected static class AdapterDeploymentContext.DeploymentDelegate extends KeycloakDeployment
Modifier and Type | Field and Description |
---|---|
protected KeycloakDeployment |
delegate |
accountUrl, adapterStateCookiePath, alwaysRefreshToken, authServerBaseUrl, authUrl, autodetectBearerOnly, bearerOnly, client, clientAuthenticator, confidentialPort, cors, corsAllowedHeaders, corsAllowedMethods, corsExposedHeaders, corsMaxAge, delegateBearerErrorResponseSending, enableBasicAuth, exposeToken, ignoreOAuthQueryParameter, jwksUrl, logoutUrl, minTimeBetweenJwksRequests, notBefore, pkce, policyEnforcer, principalAttribute, publicClient, publicKeyCacheTtl, publicKeyLocator, realm, realmInfoUrl, redirectRewriteRules, registerNodeAtStartup, registerNodePeriod, registerNodeUrl, relativeUrls, resourceCredentials, resourceName, scope, sslRequired, stateCookieName, tokenMinimumTimeToLive, tokenStore, tokenUrl, turnOffChangeSessionIdOnLogin, unregisterNodeUrl, useResourceRoleMappings, verifyTokenAudience
Constructor and Description |
---|
DeploymentDelegate(KeycloakDeployment delegate) |
getAuthServerBaseUrl, getAuthUrl, getCorsExposedHeaders, getRedirectRewriteRules, isConfigured, isDelegateBearerErrorResponseSending, isOAuthQueryParameterEnabled, isPkce, isSSLEnabled, resolveUrls, setAuthServerBaseUrl, setClient, setCorsExposedHeaders, setDelegateBearerErrorResponseSending, setIgnoreOAuthQueryParameter, setPkce, setRewriteRedirectRules
protected KeycloakDeployment delegate
public DeploymentDelegate(KeycloakDeployment delegate)
public void setAuthServerBaseUrl(String authServerBaseUrl)
public RelativeUrlsUsed getRelativeUrls()
getRelativeUrls
in class KeycloakDeployment
public String getRealmInfoUrl()
getRealmInfoUrl
in class KeycloakDeployment
public String getTokenUrl()
getTokenUrl
in class KeycloakDeployment
public KeycloakUriBuilder getLogoutUrl()
getLogoutUrl
in class KeycloakDeployment
public String getAccountUrl()
getAccountUrl
in class KeycloakDeployment
public String getRegisterNodeUrl()
getRegisterNodeUrl
in class KeycloakDeployment
public String getUnregisterNodeUrl()
getUnregisterNodeUrl
in class KeycloakDeployment
public String getJwksUrl()
getJwksUrl
in class KeycloakDeployment
public String getResourceName()
getResourceName
in class KeycloakDeployment
public String getRealm()
getRealm
in class KeycloakDeployment
public void setRealm(String realm)
setRealm
in class KeycloakDeployment
public void setPublicKeyLocator(PublicKeyLocator publicKeyLocator)
setPublicKeyLocator
in class KeycloakDeployment
public PublicKeyLocator getPublicKeyLocator()
getPublicKeyLocator
in class KeycloakDeployment
public void setResourceName(String resourceName)
setResourceName
in class KeycloakDeployment
public boolean isBearerOnly()
isBearerOnly
in class KeycloakDeployment
public void setBearerOnly(boolean bearerOnly)
setBearerOnly
in class KeycloakDeployment
public boolean isAutodetectBearerOnly()
isAutodetectBearerOnly
in class KeycloakDeployment
public void setAutodetectBearerOnly(boolean autodetectBearerOnly)
setAutodetectBearerOnly
in class KeycloakDeployment
public boolean isEnableBasicAuth()
isEnableBasicAuth
in class KeycloakDeployment
public void setEnableBasicAuth(boolean enableBasicAuth)
setEnableBasicAuth
in class KeycloakDeployment
public boolean isPublicClient()
isPublicClient
in class KeycloakDeployment
public void setPublicClient(boolean publicClient)
setPublicClient
in class KeycloakDeployment
public Map<String,Object> getResourceCredentials()
getResourceCredentials
in class KeycloakDeployment
public void setResourceCredentials(Map<String,Object> resourceCredentials)
setResourceCredentials
in class KeycloakDeployment
public void setClientAuthenticator(ClientCredentialsProvider clientAuthenticator)
setClientAuthenticator
in class KeycloakDeployment
public ClientCredentialsProvider getClientAuthenticator()
getClientAuthenticator
in class KeycloakDeployment
public org.apache.http.client.HttpClient getClient()
getClient
in class KeycloakDeployment
public void setClient(org.apache.http.client.HttpClient client)
setClient
in class KeycloakDeployment
public String getScope()
getScope
in class KeycloakDeployment
public void setScope(String scope)
setScope
in class KeycloakDeployment
public SslRequired getSslRequired()
getSslRequired
in class KeycloakDeployment
public void setSslRequired(SslRequired sslRequired)
setSslRequired
in class KeycloakDeployment
public int getConfidentialPort()
getConfidentialPort
in class KeycloakDeployment
public void setConfidentialPort(int confidentialPort)
setConfidentialPort
in class KeycloakDeployment
public TokenStore getTokenStore()
getTokenStore
in class KeycloakDeployment
public void setTokenStore(TokenStore tokenStore)
setTokenStore
in class KeycloakDeployment
public String getAdapterStateCookiePath()
getAdapterStateCookiePath
in class KeycloakDeployment
public void setAdapterStateCookiePath(String adapterStateCookiePath)
setAdapterStateCookiePath
in class KeycloakDeployment
public String getStateCookieName()
getStateCookieName
in class KeycloakDeployment
public void setStateCookieName(String stateCookieName)
setStateCookieName
in class KeycloakDeployment
public boolean isUseResourceRoleMappings()
isUseResourceRoleMappings
in class KeycloakDeployment
public void setUseResourceRoleMappings(boolean useResourceRoleMappings)
setUseResourceRoleMappings
in class KeycloakDeployment
public boolean isCors()
isCors
in class KeycloakDeployment
public void setCors(boolean cors)
setCors
in class KeycloakDeployment
public int getCorsMaxAge()
getCorsMaxAge
in class KeycloakDeployment
public void setCorsMaxAge(int corsMaxAge)
setCorsMaxAge
in class KeycloakDeployment
public String getCorsAllowedHeaders()
getCorsAllowedHeaders
in class KeycloakDeployment
public void setNotBefore(int notBefore)
setNotBefore
in class KeycloakDeployment
public int getNotBefore()
getNotBefore
in class KeycloakDeployment
public void updateNotBefore(int notBefore)
updateNotBefore
in class KeycloakDeployment
public void setExposeToken(boolean exposeToken)
setExposeToken
in class KeycloakDeployment
public boolean isExposeToken()
isExposeToken
in class KeycloakDeployment
public void setCorsAllowedMethods(String corsAllowedMethods)
setCorsAllowedMethods
in class KeycloakDeployment
public String getCorsAllowedMethods()
getCorsAllowedMethods
in class KeycloakDeployment
public void setCorsAllowedHeaders(String corsAllowedHeaders)
setCorsAllowedHeaders
in class KeycloakDeployment
public boolean isAlwaysRefreshToken()
isAlwaysRefreshToken
in class KeycloakDeployment
public void setAlwaysRefreshToken(boolean alwaysRefreshToken)
setAlwaysRefreshToken
in class KeycloakDeployment
public int getRegisterNodePeriod()
getRegisterNodePeriod
in class KeycloakDeployment
public void setRegisterNodePeriod(int registerNodePeriod)
setRegisterNodePeriod
in class KeycloakDeployment
public void setRegisterNodeAtStartup(boolean registerNodeAtStartup)
setRegisterNodeAtStartup
in class KeycloakDeployment
public boolean isRegisterNodeAtStartup()
isRegisterNodeAtStartup
in class KeycloakDeployment
public String getPrincipalAttribute()
getPrincipalAttribute
in class KeycloakDeployment
public void setPrincipalAttribute(String principalAttribute)
setPrincipalAttribute
in class KeycloakDeployment
public boolean isTurnOffChangeSessionIdOnLogin()
isTurnOffChangeSessionIdOnLogin
in class KeycloakDeployment
public void setTurnOffChangeSessionIdOnLogin(boolean turnOffChangeSessionIdOnLogin)
setTurnOffChangeSessionIdOnLogin
in class KeycloakDeployment
public int getTokenMinimumTimeToLive()
getTokenMinimumTimeToLive
in class KeycloakDeployment
public void setTokenMinimumTimeToLive(int tokenMinimumTimeToLive)
setTokenMinimumTimeToLive
in class KeycloakDeployment
public PolicyEnforcer getPolicyEnforcer()
getPolicyEnforcer
in class KeycloakDeployment
public void setPolicyEnforcer(Callable<PolicyEnforcer> policyEnforcer)
setPolicyEnforcer
in class KeycloakDeployment
public void setMinTimeBetweenJwksRequests(int minTimeBetweenJwksRequests)
setMinTimeBetweenJwksRequests
in class KeycloakDeployment
public int getMinTimeBetweenJwksRequests()
getMinTimeBetweenJwksRequests
in class KeycloakDeployment
public int getPublicKeyCacheTtl()
getPublicKeyCacheTtl
in class KeycloakDeployment
public void setPublicKeyCacheTtl(int publicKeyCacheTtl)
setPublicKeyCacheTtl
in class KeycloakDeployment
public boolean isVerifyTokenAudience()
isVerifyTokenAudience
in class KeycloakDeployment
public void setVerifyTokenAudience(boolean verifyTokenAudience)
setVerifyTokenAudience
in class KeycloakDeployment
Copyright © 2019 JBoss by Red Hat. All rights reserved.