Package org.gcube.service.idm.liferay
Class LiferayClientFactory
- java.lang.Object
-
- org.gcube.service.idm.liferay.LiferayClientFactory
-
public class LiferayClientFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description LiferayClientFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.vomanagement.usermanagement.impl.ws.LiferayWSUserManagercreatetLiferayClientInstance()static org.gcube.vomanagement.usermanagement.impl.ws.LiferayWSUserManagercreatetLiferayClientInstance(org.gcube.idm.common.is.IsServerConfig config)org.gcube.idm.common.is.IsServerConfigfetchIsConfig()org.gcube.idm.common.is.IsServerConfigfetchIsConfig(org.gcube.common.security.secrets.Secret secret)org.gcube.vomanagement.usermanagement.impl.ws.LiferayWSUserManagergetClient()org.gcube.common.security.secrets.SecretgetSecret()org.gcube.common.security.secrets.SecretgetSecretForInfrastructure()static LiferayClientFactorygetSingleton()voidsetConfig(org.gcube.idm.common.is.IsServerConfig config)voidsetSecret(org.gcube.common.security.secrets.Secret secret)
-
-
-
Method Detail
-
getSingleton
public static LiferayClientFactory getSingleton()
-
getSecret
public org.gcube.common.security.secrets.Secret getSecret()
-
setSecret
public void setSecret(org.gcube.common.security.secrets.Secret secret)
-
setConfig
public void setConfig(org.gcube.idm.common.is.IsServerConfig config)
-
getSecretForInfrastructure
public org.gcube.common.security.secrets.Secret getSecretForInfrastructure()
-
fetchIsConfig
public org.gcube.idm.common.is.IsServerConfig fetchIsConfig() throws jakarta.ws.rs.InternalServerErrorException- Throws:
jakarta.ws.rs.InternalServerErrorException
-
fetchIsConfig
public org.gcube.idm.common.is.IsServerConfig fetchIsConfig(org.gcube.common.security.secrets.Secret secret) throws jakarta.ws.rs.InternalServerErrorException- Throws:
jakarta.ws.rs.InternalServerErrorException
-
createtLiferayClientInstance
public org.gcube.vomanagement.usermanagement.impl.ws.LiferayWSUserManager createtLiferayClientInstance()
-
createtLiferayClientInstance
public static org.gcube.vomanagement.usermanagement.impl.ws.LiferayWSUserManager createtLiferayClientInstance(org.gcube.idm.common.is.IsServerConfig config)
-
getClient
public org.gcube.vomanagement.usermanagement.impl.ws.LiferayWSUserManager getClient()
-
-