Class InternalSecurityClientFactory
- java.lang.Object
-
- fr.gouv.vitam.common.client.VitamClientFactory<InternalSecurityClient>
-
- fr.gouv.vitam.security.internal.client.InternalSecurityClientFactory
-
- All Implemented Interfaces:
VitamClientFactoryInterface<InternalSecurityClient>
public class InternalSecurityClientFactory extends VitamClientFactory<InternalSecurityClient>
client for identity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface fr.gouv.vitam.common.client.VitamClientFactoryInterface
VitamClientFactoryInterface.VitamClientType
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.client.VitamClientFactory
clientConfiguration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeMode(ClientConfiguration configuration)
InternalSecurityClient
getClient()
This method returns the correct Client adapted to the business casestatic InternalSecurityClientFactory
getInstance()
Get the AccessClientFactory instance-
Methods inherited from class fr.gouv.vitam.common.client.VitamClientFactory
changeResourcePath, changeServerPort, disableUseAuthorizationFilter, enableUseAuthorizationFilter, getClientConfiguration, getDefaultConfigCient, getDefaultConfigCient, getHttpClient, getHttpClient, getResourcePath, getServiceUrl, getVitamClientType, getVitamThreadPoolExecutor, initialisation, isAllowGzipDecoded, isAllowGzipEncoded, resetConnections, resume, setGzipdecoded, setGzipEncoded, setVitamClientType, shutdown, toString
-
-
-
-
Method Detail
-
getInstance
public static InternalSecurityClientFactory getInstance()
Get the AccessClientFactory instance- Returns:
- the instance
-
changeMode
public static void changeMode(ClientConfiguration configuration)
- Parameters:
configuration
- null for MOCK
-
getClient
public InternalSecurityClient getClient()
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-
-