Class 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, disableTrustManager, ignoreOAuthQueryParameter, minTimeBetweenJwksRequests, pkce, policyEnforcerConfig, principalAttribute, proxyUrl, publicKeyCacheTtl, registerNodeAtStartup, registerNodePeriod, 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      int getClientConnectionTimeout()  
      int getClientSocketTimeout()  
      void setClientConnectionTimeout​(int clientConnectionTimeout)  
      void setClientSocketTimeout​(int clientSocketTimeout)  
      void setGlobalProperties​(java.util.Properties globalProperties)  
      • Methods inherited from class org.keycloak.representations.adapters.config.AdapterConfig

        getClientKeyPassword, getClientKeystore, getClientKeystorePassword, getConnectionPoolSize, getMinTimeBetweenJwksRequests, getPolicyEnforcerConfig, getPrincipalAttribute, getProxyUrl, getPublicKeyCacheTtl, getRegisterNodePeriod, getTokenMinimumTimeToLive, getTokenStore, getTruststore, getTruststorePassword, getTurnOffChangeSessionIdOnLogin, isAllowAnyHostname, isAlwaysRefreshToken, isDisableTrustManager, isIgnoreOAuthQueryParameter, isPkce, isRegisterNodeAtStartup, isVerifyTokenAudience, setAllowAnyHostname, setAlwaysRefreshToken, setClientKeyPassword, setClientKeystore, setClientKeystorePassword, setConnectionPoolSize, setDisableTrustManager, setIgnoreOAuthQueryParameter, setMinTimeBetweenJwksRequests, setPkce, setPolicyEnforcerConfig, setPrincipalAttribute, setProxyUrl, setPublicKeyCacheTtl, setRegisterNodeAtStartup, setRegisterNodePeriod, 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 Detail

      • IdentityServiceConfig

        public IdentityServiceConfig()
    • Method Detail

      • setGlobalProperties

        public void setGlobalProperties​(java.util.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 java.lang.Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        java.lang.Exception