Class IdentityServiceConfig
java.lang.Object
org.alfresco.repo.security.authentication.identityservice.IdentityServiceConfig
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class IdentityServiceConfig
extends Object
implements org.springframework.beans.factory.InitializingBean
Class to hold configuration for the Identity Service.
- Author:
- Gavin Cornwell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintintintgetRealm()booleanbooleanvoidsetAllowAnyHostname(boolean allowAnyHostname) voidsetAuthServerUrl(String authServerUrl) voidsetClientConnectionTimeout(int clientConnectionTimeout) voidsetClientKeyPassword(String clientKeyPassword) voidsetClientKeystore(String clientKeystore) voidsetClientKeystorePassword(String clientKeystorePassword) voidsetClientSocketTimeout(int clientSocketTimeout) voidsetConnectionPoolSize(int connectionPoolSize) voidsetDisableTrustManager(boolean disableTrustManager) voidsetGlobalProperties(Properties globalProperties) voidvoidsetRealmKey(String realmKey) voidsetResource(String resource) voidsetTruststore(String truststore) voidsetTruststorePassword(String truststorePassword)
-
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.
-
setConnectionPoolSize
public void setConnectionPoolSize(int connectionPoolSize) -
getConnectionPoolSize
public int getConnectionPoolSize() -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getAuthServerUrl
-
setAuthServerUrl
-
getRealm
-
setRealm
-
getResource
-
setResource
-
getClientSecret
-
getIssuerUrl
-
setAllowAnyHostname
public void setAllowAnyHostname(boolean allowAnyHostname) -
isAllowAnyHostname
public boolean isAllowAnyHostname() -
setDisableTrustManager
public void setDisableTrustManager(boolean disableTrustManager) -
isDisableTrustManager
public boolean isDisableTrustManager() -
setTruststore
-
getTruststore
-
setTruststorePassword
-
getTruststorePassword
-
setClientKeystore
-
getClientKeystore
-
setClientKeystorePassword
-
getClientKeystorePassword
-
setClientKeyPassword
-
getClientKeyPassword
-
setRealmKey
-
getRealmKey
-