public class ServerRemoteRestAdminCommand extends RemoteRestAdminCommand
This class identifies the origin as a server (as opposed to a true admin client) for server-to-server authentication.
authToken, COMMAND_MODEL_MATCH_HEADER, host, logger, name, operands, options, output, password, port, prohibitDirectoryUploads, scope, secure, user| Constructor and Description |
|---|
ServerRemoteRestAdminCommand(org.glassfish.hk2.api.ServiceLocator habitat,
String name,
String host,
int port,
boolean secure,
String user,
String password,
Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.client.Invocation.Builder |
addAdditionalHeaders(javax.ws.rs.client.Invocation.Builder request)
Adds the admin indicator header to the request so.
|
protected AuthenticationInfo |
authenticationInfo() |
protected SSLContext |
getSslContext() |
closeSse, createStandardSslContext, executeCommand, fetchCommandModel, findPropertyInReport, getActionReport, getCanonicalHost, getCommandModel, getFromEnvironment, getManPage, getReadTimeout, getUsage, headers, isCommandModelFromCache, preinit, processHeaders, processParams, refetchInvalidModel, reportAuthenticationException, retryUsingSecureConnection, setActionReport, setCommandModel, setConnectTimeout, setFileOutputDirectory, setInteractive, setOmitCache, setReadTimeout, setResponseFormatType, setUserOut, updateAuthentication, useSsefireEvent, fireEvent, listening, registerListener, unregisterListenerpublic ServerRemoteRestAdminCommand(org.glassfish.hk2.api.ServiceLocator habitat,
String name,
String host,
int port,
boolean secure,
String user,
String password,
Logger logger)
throws org.glassfish.api.admin.CommandException
org.glassfish.api.admin.CommandExceptionprotected SSLContext getSslContext()
getSslContext in class RemoteRestAdminCommandprotected AuthenticationInfo authenticationInfo()
authenticationInfo in class RemoteRestAdminCommandprotected javax.ws.rs.client.Invocation.Builder addAdditionalHeaders(javax.ws.rs.client.Invocation.Builder request)
addAdditionalHeaders in class RemoteRestAdminCommandurlConnection - Copyright © 2013. All Rights Reserved.