Package com.netscape.certsrv.client
Class SubsystemClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.client.SubsystemClient
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description SubsystemClient(PKIClient client, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
AccountInfo
login()
Log in to the subsystem.void
logout()
Log out from the subsystem.Range
requestRange(java.lang.String type, java.lang.String sessionID)
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, getClient, getName, getSubsystem, removeClient
-
-
-
-
Field Detail
-
logger
public static final org.slf4j.Logger logger
-
SUCCESS
public static java.lang.String SUCCESS
-
FAILURE
public static java.lang.String FAILURE
-
AUTH_FAILURE
public static java.lang.String AUTH_FAILURE
-
accountClient
public AccountClient accountClient
-
-
Constructor Detail
-
SubsystemClient
public SubsystemClient(PKIClient client, java.lang.String name) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
-
Method Detail
-
login
public AccountInfo login() throws java.lang.Exception
Log in to the subsystem.- Throws:
java.lang.Exception
-
exists
public boolean exists() throws java.lang.Exception
- Throws:
java.lang.Exception
-
requestRange
public Range requestRange(java.lang.String type, java.lang.String sessionID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
logout
public void logout() throws java.lang.Exception
Log out from the subsystem.- Throws:
java.lang.Exception
-
-