Package com.netscape.certsrv.system
Class SecurityDomainClient
- java.lang.Object
-
- com.netscape.certsrv.client.Client
-
- com.netscape.certsrv.system.SecurityDomainClient
-
public class SecurityDomainClient extends Client
- Author:
- alee
-
-
Constructor Summary
Constructors Constructor Description SecurityDomainClient(PKIClient client, java.lang.String subsystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHost(SecurityDomainHost host)
DomainInfo
getDomainInfo()
SecurityDomainHost
getHost(java.lang.String hostID)
java.util.Collection<SecurityDomainHost>
getHosts()
InstallToken
getInstallToken(java.lang.String hostname, java.lang.String subsystem)
void
init()
void
removeHost(java.lang.String hostID)
-
Methods inherited from class com.netscape.certsrv.client.Client
addClient, createProxy, getClient, getName, getSubsystem, removeClient
-
-
-
-
Constructor Detail
-
SecurityDomainClient
public SecurityDomainClient(PKIClient client, java.lang.String subsystem) throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
-
Method Detail
-
init
public void init() throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
-
getInstallToken
public InstallToken getInstallToken(java.lang.String hostname, java.lang.String subsystem) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getDomainInfo
public DomainInfo getDomainInfo() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getHosts
public java.util.Collection<SecurityDomainHost> getHosts() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getHost
public SecurityDomainHost getHost(java.lang.String hostID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
addHost
public void addHost(SecurityDomainHost host) throws java.lang.Exception
- Throws:
java.lang.Exception
-
removeHost
public void removeHost(java.lang.String hostID) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-