{
InputStream configStream = confManager.getInputStream(apiCacheConfig.getValue());
JBossCacheAPICacheProviderImpl apiCacheProvider = new JBossCacheAPICacheProviderImpl();
apiCacheProvider.initialize(configStream);
picketLinkIDMCache.register(apiCacheProvider);
identityConfiguration.getIdentityConfigurationRegistry().register(apiCacheProvider, "apiCacheProvider");
configStream.close();