Package org.gcube.idm.client
Class IdmClientFactory
- java.lang.Object
-
- org.gcube.idm.client.IdmClientFactory
-
public class IdmClientFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description IdmClientFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.idm.common.is.IsServerConfigfetchIsConfig()org.gcube.idm.common.is.IsServerConfigfetchIsConfig(org.gcube.common.security.secrets.Secret secret)org.gcube.common.security.secrets.SecretgetSecret()static IdmClientFactorygetSingleton()IdmMeClientmeClient(String auth_token)voidsetConfig(org.gcube.idm.common.is.IsServerConfig config)voidsetSecret(org.gcube.common.security.secrets.Secret secret)IdmUsersClientuserClient(String auth_token)
-
-
-
Method Detail
-
getSingleton
public static IdmClientFactory 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)
-
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
-
meClient
public IdmMeClient meClient(String auth_token) throws ServerException
- Throws:
ServerException
-
userClient
public IdmUsersClient userClient(String auth_token) throws ServerException
- Throws:
ServerException
-
-