public class ProxyHandler extends BaseHandler
VALID| Constructor and Description |
|---|
ProxyHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
activateProxy(java.lang.String clientcert,
java.lang.String version)
Activates the proxy identified by the given client certificate.
|
java.lang.String |
createMonitoringScout(java.lang.String clientcert)
Create Monitoring Scout for proxy.
|
int |
deactivateProxy(java.lang.String clientcert)
Deactivates the system identified by the given client certificate.
|
int |
isProxy(java.lang.String clientcert)
Test, if the system identified by the given client certificate, is proxy.
|
java.util.List<java.lang.String> |
listAvailableProxyChannels(java.lang.String clientcert)
List available version of proxy channel for the system.
|
ensureConfigAdmin, ensureOrgAdmin, ensureOrgOrConfigAdmin, ensureSatAdmin, ensureSystemGroupAdmin, ensureUserRole, getLoggedInUser, invoke, providesAuthentication, setEntityAttribute, validateClientCertificate, validateEntitlements, validateMap, verifyOrgExistspublic java.lang.String createMonitoringScout(java.lang.String clientcert)
throws NotSupportedException
clientcert - client certificate of the system.NotSupportedException - thrown everytime as this call is no longer supportedpublic int isProxy(java.lang.String clientcert)
throws MethodInvalidParamException
clientcert - client certificate of the system.MethodInvalidParamException - thrown if certificate is invalid.public int deactivateProxy(java.lang.String clientcert)
throws ProxyNotActivatedException,
MethodInvalidParamException
clientcert - client certificate of the system.ProxyNotActivatedException - thrown if server is not a proxy.MethodInvalidParamException - thrown if certificate is invalid.public int activateProxy(java.lang.String clientcert,
java.lang.String version)
throws ProxyAlreadyRegisteredException,
MethodInvalidParamException,
ProxySystemIsSatelliteException,
InvalidProxyVersionException
clientcert - client certificate of the system.version - Proxy versionProxyAlreadyRegisteredException - thrown if system has already been
registered.MethodInvalidParamException - thrown if certificate is invalid.ProxySystemIsSatelliteException - thrown if client certificate is
for a satelliteInvalidProxyVersionException - thrown if version is not supported.ProxyNeedManagementException - thrown if system does not have the
management entitlement.public java.util.List<java.lang.String> listAvailableProxyChannels(java.lang.String clientcert)
clientcert - client certificate of the system.