com.sun.jdmk.comm
Class HttpsConnectorAddress

java.lang.Object
  extended by com.sun.jdmk.comm.HttpsConnectorAddress
All Implemented Interfaces:
ConnectorAddress, GenericHttpConnectorAddress, Serializable, Cloneable

Deprecated. The JMX Remote API should be used in preference to the legacy Java DMK connector classes. This class may be removed in a future version of Java DMK. See JdmkLegacyConnector.

public class HttpsConnectorAddress
extends Object
implements GenericHttpConnectorAddress

This class defines the Authentication Information required by the HTTPS connector in order to carry out login/password authentication.

See Also:
Serialized Form

Constructor Summary
HttpsConnectorAddress()
          Deprecated. HttpsConnectorAddress constructor.
HttpsConnectorAddress(String host, int port)
          Deprecated. HttpsConnectorAddress constructor.
HttpsConnectorAddress(String host, int port, AuthInfo authInfo)
          Deprecated. HttpsConnectorAddress constructor.
 
Method Summary
 Object clone()
          Deprecated. Clone this HttpsConnectorAddress.
 AuthInfo getAuthInfo()
          Deprecated. Returns the value of the authentication info property.
 String getConnectorType()
          Deprecated. Returns the type of connector.
 String getHost()
          Deprecated. Returns the value of the server host property.
 int getPort()
          Deprecated. Returns the value of the server port property.
 void setAuthInfo(AuthInfo authInfo)
          Deprecated. Sets the value of the authentication info property.
 void setHost(String host)
          Deprecated. Sets the value of the server host property.
 void setPort(int port)
          Deprecated. Sets the value of the server port property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsConnectorAddress

public HttpsConnectorAddress()
Deprecated. 
HttpsConnectorAddress constructor.

Using this constructor no authentication information is provided, i.e. the connector client using this address will not send login/password information to its corresponding connector server.

The default host is the local hostname.

The default port is defined by com.sun.jdmk.ServiceName.HTTPS_CONNECTOR_PORT.


HttpsConnectorAddress

public HttpsConnectorAddress(String host,
                             int port)
Deprecated. 
HttpsConnectorAddress constructor.

Using this constructor no authentication information is provided, i.e. the connector client using this address will not send login/password information to its corresponding connector server.

Parameters:
host - The host specifies the hostname where the connector server runs.
port - The port specifies the port number where the connector server is listening for incoming connections.

HttpsConnectorAddress

public HttpsConnectorAddress(String host,
                             int port,
                             AuthInfo authInfo)
Deprecated. 
HttpsConnectorAddress constructor.

Parameters:
host - The host specifies the hostname where the connector server runs.
port - The port specifies the port number where the connector server is listening for incoming connections.
authInfo - The authentication info specifies the login/password required by the connector server.
Method Detail

getConnectorType

public String getConnectorType()
Deprecated. 
Returns the type of connector.

Specified by:
getConnectorType in interface ConnectorAddress
Returns:
the value of the connector type property.

getHost

public String getHost()
Deprecated. 
Returns the value of the server host property.

Specified by:
getHost in interface GenericHttpConnectorAddress
Returns:
the value of the server host property.

setHost

public void setHost(String host)
Deprecated. 
Sets the value of the server host property.

Specified by:
setHost in interface GenericHttpConnectorAddress
Parameters:
host - the new value of the server host property.

getPort

public int getPort()
Deprecated. 
Returns the value of the server port property.

Specified by:
getPort in interface GenericHttpConnectorAddress
Returns:
the value of the server port property.

setPort

public void setPort(int port)
Deprecated. 
Sets the value of the server port property.

Specified by:
setPort in interface GenericHttpConnectorAddress
Parameters:
port - the new value of the server port property.

getAuthInfo

public AuthInfo getAuthInfo()
Deprecated. 
Returns the value of the authentication info property.

Specified by:
getAuthInfo in interface GenericHttpConnectorAddress
Returns:
the value of the authentication info property.

setAuthInfo

public void setAuthInfo(AuthInfo authInfo)
Deprecated. 
Sets the value of the authentication info property.

Specified by:
setAuthInfo in interface GenericHttpConnectorAddress
Parameters:
authInfo - the new value of the authentication info property.

clone

public Object clone()
Deprecated. 
Clone this HttpsConnectorAddress. The cloning is done using Object.clone().

Specified by:
clone in interface GenericHttpConnectorAddress
Overrides:
clone in class Object
See Also:
Object.clone()

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.