Package org.gcube.idm.client
Class AbstractIdmClient
- java.lang.Object
-
- org.gcube.idm.client.AbstractIdmClient
-
- Direct Known Subclasses:
DefaultMeClient,DefaultUsersClient
public class AbstractIdmClient extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringauth_tokenprotected static StringAUTHORIZATION_HEADERprotected IdmRestClientclientprotected static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description AbstractIdmClient(String base_url)AbstractIdmClient(URI base_url)AbstractIdmClient(IdmRestClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdmRestClientgetClient()voidsetClient(IdmRestClient client)
-
-
-
Field Detail
-
logger
protected static org.slf4j.Logger logger
-
AUTHORIZATION_HEADER
protected static final String AUTHORIZATION_HEADER
- See Also:
- Constant Field Values
-
auth_token
protected String auth_token
-
client
protected IdmRestClient client
-
-
Constructor Detail
-
AbstractIdmClient
public AbstractIdmClient(IdmRestClient client) throws URISyntaxException
- Throws:
URISyntaxException
-
AbstractIdmClient
public AbstractIdmClient(String base_url) throws URISyntaxException
- Throws:
URISyntaxException
-
AbstractIdmClient
public AbstractIdmClient(URI base_url)
-
-
Method Detail
-
getClient
public IdmRestClient getClient()
-
setClient
public void setClient(IdmRestClient client)
-
-