org.eclipse.rse.ui.subsystems
Class StandardConnectorService
java.lang.Object
org.eclipse.rse.core.model.RSEPersistableObject
org.eclipse.rse.core.model.PropertySetContainer
org.eclipse.rse.core.model.RSEModelObject
org.eclipse.rse.core.subsystems.AbstractConnectorService
org.eclipse.rse.core.subsystems.AuthenticatingConnectorService
org.eclipse.rse.ui.subsystems.StandardConnectorService
- All Implemented Interfaces:
- IPropertySetContainer, IRSEModelObject, IRSEPersistableContainer, IConnectorService
- Direct Known Subclasses:
- DStoreConnectorService
public abstract class StandardConnectorService
- extends AuthenticatingConnectorService
A standard connector service is an authenticating connector service
(see AuthenticatingConnectorService
) that understand and prompts for
user ids and passwords. It uses a standard credentials provider
(see StandardCredentialsProvider
) to do so.
Methods inherited from class org.eclipse.rse.core.subsystems.AuthenticatingConnectorService |
acquireCredentials, clearCredentials, clearPassword, getCredentialsProvider, getUserId, hasPassword, inheritsCredentials, isSuppressed, postDisconnect, removePassword, removeUserId, savePassword, saveUserId, setCredentialsProvider, setPassword, setSuppressed, setUserId, sharesCredentials |
Methods inherited from class org.eclipse.rse.core.subsystems.AbstractConnectorService |
addCommunicationsListener, commit, connect, deregisterSubSystem, disconnect, fireCommunicationsEvent, getConnectPort, getDenyPasswordSave, getDescription, getHomeDirectory, getHost, getHostName, getName, getPersistableChildren, getPersistableParent, getPort, getPrimarySubSystem, getRemoteServerLauncher, getRemoteServerLauncherProperties, getSubSystems, getTempDirectory, getVersionReleaseModification, hasActiveCommunicationListeners, hasRemoteServerLauncherProperties, initializeSubSystems, internalConnect, internalDisconnect, isServerLaunchTypeEnabled, isUsingSSL, notifyConnection, notifyDisconnection, notifyError, postConnect, preConnect, preDisconnect, registerSubSystem, removeCommunicationsListener, reset, setDenyPasswordSave, setHost, setIsUsingSSL, setPort, setRemoteServerLauncherProperties, supportsRemoteServerLaunching, supportsServerLaunchProperties, uninitializeSubSystems |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardConnectorService
public StandardConnectorService(String name,
String description,
IHost host,
int port)
- Construct a standard connector service. This also constructs
and uses a standard credentials provider.
- Parameters:
name
- the name of the connector servicedescription
- the description of the connector servicehost
- the host associated with this connector serviceport
- the port used by this connector service, if IP based
supportsPassword
public boolean supportsPassword()
- Determines if this connector service understand the concept of a password.
This implementation always returns true.
Override if necessary.
- Returns:
- true
- See Also:
IConnectorService.supportsPassword()
requiresPassword
public boolean requiresPassword()
- Test if this connector service requires a password.
This implementation always returns true.
Override if necessary.
- Returns:
- true
- See Also:
IConnectorService.requiresPassword()
supportsUserId
public boolean supportsUserId()
- Reports if this connector service can use a user identifier.
This implementation always returns true.
Override if necessary.
- Returns:
- true
- See Also:
IConnectorService.supportsUserId()
requiresUserId
public boolean requiresUserId()
- Test if this connector service requires a user id.
This implementation always returns true.
Override if necessary.
- Returns:
- true
- See Also:
IConnectorService.requiresUserId()
getSignonInformation
protected final SystemSignonInformation getSignonInformation()
- Returns:
- the SystemSignonInformation constructed from the
credentials provider.
Copyright (c) IBM Corporation and others 2000, 2011. All Rights Reserved.