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, verifyTokenAudience

    Fields inherited from class org.keycloak.representations.adapters.config.BaseAdapterConfig

    autodetectBearerOnly, bearerOnly, cors, corsAllowedHeaders, corsAllowedMethods, corsExposedHeaders, corsMaxAge, credentials, enableBasicAuth, exposeToken, publicClient, redirectRewriteRules, resource, useResourceRoleMappings

    Fields inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig

    authServerUrl, confidentialPort, realm, realmKey, sslRequired
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    int
     
    void
    setClientConnectionTimeout(int clientConnectionTimeout)
     
    void
    setClientSocketTimeout(int clientSocketTimeout)
     
    void
    setGlobalProperties(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, setVerifyTokenAudience

    Methods 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, setUseResourceRoleMappings

    Methods inherited from class org.keycloak.representations.adapters.config.BaseRealmConfig

    getAuthServerUrl, getConfidentialPort, getRealm, getRealmKey, getSslRequired, setAuthServerUrl, setConfidentialPort, setRealm, setRealmKey, setSslRequired

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IdentityServiceConfig

      public IdentityServiceConfig()
  • Method Details

    • setGlobalProperties

      public void setGlobalProperties(Properties globalProperties)
    • 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

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception