base.connection
Class ConnectionUserAndKey
java.lang.Object
base.connection.ConnectionKey
base.connection.ConnectionUserAndKey
- All Implemented Interfaces:
- IConnection
- Direct Known Subclasses:
- EC2Connection, IBMConnection, NirvanixConnection, RackspaceConnection, S3Connection
public class ConnectionUserAndKey
- extends ConnectionKey
Manages a connection with an access ID and secret key.
Constructor Summary |
ConnectionUserAndKey(java.lang.String accessId,
java.lang.String accessKey,
boolean secure,
java.lang.String host,
Driver driver)
Constructs this ConnectionUserAndKey with a default port. |
ConnectionUserAndKey(java.lang.String accessId,
java.lang.String accessKey,
boolean secure,
java.lang.String host,
int port,
Driver driver)
Constructs this ConnectionUserAndKey. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionUserAndKey
public ConnectionUserAndKey(java.lang.String accessId,
java.lang.String accessKey,
boolean secure,
java.lang.String host,
int port,
Driver driver)
- Constructs this ConnectionUserAndKey.
- Parameters:
accessId
- identifies the user with the serveraccessKey
- is the user's secret key for server authenticationsecure
- indicates if this connection is securehost
- is the host to connect toport
- is the host's port to connect todriver
- references the driver that owns this connection
ConnectionUserAndKey
public ConnectionUserAndKey(java.lang.String accessId,
java.lang.String accessKey,
boolean secure,
java.lang.String host,
Driver driver)
- Constructs this ConnectionUserAndKey with a default port.
- Parameters:
accessId
- identifies the user with the serveraccessKey
- is the user's secret key for server authenticationsecure
- indicates if this connection is securehost
- is the host to connect todriver
- references the driver that owns this connection