Class IdentityServiceConfig
java.lang.Object
org.keycloak.representations.adapters.config.BaseRealmConfig
org.keycloak.representations.adapters.config.BaseAdapterConfig
org.keycloak.representations.adapters.config.AdapterConfig
org.alfresco.repo.security.authentication.identityservice.IdentityServiceConfig
- All Implemented Interfaces:
org.keycloak.representations.adapters.config.AdapterHttpClientConfig,org.springframework.beans.factory.InitializingBean
public class IdentityServiceConfig
extends org.keycloak.representations.adapters.config.AdapterConfig
implements org.springframework.beans.factory.InitializingBean
Class to hold configuration for the Identity Service.
- Author:
- Gavin Cornwell
-
Field Summary
Fields inherited from class org.keycloak.representations.adapters.config.AdapterConfig
allowAnyHostname, alwaysRefreshToken, clientKeyPassword, clientKeystore, clientKeystorePassword, connectionPoolSize, connectionTimeout, connectionTTL, disableTrustManager, ignoreOAuthQueryParameter, minTimeBetweenJwksRequests, pkce, policyEnforcerConfig, principalAttribute, proxyUrl, publicKeyCacheTtl, registerNodeAtStartup, registerNodePeriod, socketTimeout, tokenCookiePath, tokenMinimumTimeToLive, tokenStore, truststore, truststorePassword, turnOffChangeSessionIdOnLogin, verifyTokenAudienceFields inherited from class org.keycloak.representations.adapters.config.BaseAdapterConfig
autodetectBearerOnly, bearerOnly, cors, corsAllowedHeaders, corsAllowedMethods, corsExposedHeaders, corsMaxAge, credentials, enableBasicAuth, exposeToken, publicClient, redirectRewriteRules, resource, useResourceRoleMappingsFields inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig
authServerUrl, confidentialPort, realm, realmKey, sslRequired -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintvoidsetClientConnectionTimeout(int clientConnectionTimeout) voidsetClientSocketTimeout(int clientSocketTimeout) voidsetGlobalProperties(Properties globalProperties) Methods inherited from class org.keycloak.representations.adapters.config.AdapterConfig
getClientKeyPassword, getClientKeystore, getClientKeystorePassword, getConnectionPoolSize, getConnectionTimeout, getConnectionTTL, getMinTimeBetweenJwksRequests, getPolicyEnforcerConfig, getPrincipalAttribute, getProxyUrl, getPublicKeyCacheTtl, getRegisterNodePeriod, getSocketTimeout, getTokenCookiePath, getTokenMinimumTimeToLive, getTokenStore, getTruststore, getTruststorePassword, getTurnOffChangeSessionIdOnLogin, isAllowAnyHostname, isAlwaysRefreshToken, isDisableTrustManager, isIgnoreOAuthQueryParameter, isPkce, isRegisterNodeAtStartup, isVerifyTokenAudience, setAllowAnyHostname, setAlwaysRefreshToken, setClientKeyPassword, setClientKeystore, setClientKeystorePassword, setConnectionPoolSize, setConnectionTimeout, setConnectionTTL, setDisableTrustManager, setIgnoreOAuthQueryParameter, setMinTimeBetweenJwksRequests, setPkce, setPolicyEnforcerConfig, setPrincipalAttribute, setProxyUrl, setPublicKeyCacheTtl, setRegisterNodeAtStartup, setRegisterNodePeriod, setSocketTimeout, setTokenCookiePath, setTokenMinimumTimeToLive, setTokenStore, setTruststore, setTruststorePassword, setTurnOffChangeSessionIdOnLogin, setVerifyTokenAudienceMethods inherited from class org.keycloak.representations.adapters.config.BaseAdapterConfig
getCorsAllowedHeaders, getCorsAllowedMethods, getCorsExposedHeaders, getCorsMaxAge, getCredentials, getRedirectRewriteRules, getResource, isAutodetectBearerOnly, isBearerOnly, isCors, isEnableBasicAuth, isExposeToken, isPublicClient, isUseResourceRoleMappings, setAutodetectBearerOnly, setBearerOnly, setCors, setCorsAllowedHeaders, setCorsAllowedMethods, setCorsExposedHeaders, setCorsMaxAge, setCredentials, setEnableBasicAuth, setExposeToken, setPublicClient, setRedirectRewriteRules, setResource, setUseResourceRoleMappingsMethods inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig
getAuthServerUrl, getConfidentialPort, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setConfidentialPort, setRealm, setRealmKey, setSslRequired
-
Constructor Details
-
IdentityServiceConfig
public IdentityServiceConfig()
-
-
Method Details
-
setGlobalProperties
-
getClientConnectionTimeout
public int getClientConnectionTimeout()- Returns:
- Client connection timeout in milliseconds.
-
setClientConnectionTimeout
public void setClientConnectionTimeout(int clientConnectionTimeout) - Parameters:
clientConnectionTimeout- Client connection timeout in milliseconds.
-
getClientSocketTimeout
public int getClientSocketTimeout()- Returns:
- Client socket timeout in milliseconds.s
-
setClientSocketTimeout
public void setClientSocketTimeout(int clientSocketTimeout) - Parameters:
clientSocketTimeout- Client socket timeout in milliseconds.
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-