Modifier and Type | Field and Description |
---|---|
AccountClient |
accountClient |
static java.lang.String |
AUTH_FAILURE |
static java.lang.String |
FAILURE |
static org.slf4j.Logger |
logger |
static java.lang.String |
SUCCESS |
Constructor and Description |
---|
SubsystemClient(PKIClient client,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
Account |
login()
Log in to the subsystem.
|
void |
logout()
Log out from the subsystem.
|
Range |
requestRange(java.lang.String type,
java.lang.String sessionID) |
addClient, createProxy, get, get, get, get, getClient, getName, getSubsystem, post, post, post, post, removeClient
public static final org.slf4j.Logger logger
public static java.lang.String SUCCESS
public static java.lang.String FAILURE
public static java.lang.String AUTH_FAILURE
public AccountClient accountClient
public SubsystemClient(PKIClient client, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public Account login() throws java.lang.Exception
java.lang.Exception
public boolean exists() throws java.lang.Exception
java.lang.Exception
public Range requestRange(java.lang.String type, java.lang.String sessionID) throws java.lang.Exception
java.lang.Exception
public void logout() throws java.lang.Exception
java.lang.Exception