Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.subsystems
Class StandardConnectorService


java.lang.Object
  extended by 

org.eclipse.rse.core.model.RSEPersistableObject
      extended by 

org.eclipse.rse.core.model.PropertySetContainer
          extended by 

org.eclipse.rse.core.model.RSEModelObject
              extended by 

org.eclipse.rse.core.subsystems.AbstractConnectorService
                  extended by 

org.eclipse.rse.core.subsystems.AuthenticatingConnectorService
                      extended by 
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.


Field Summary
 
Fields inherited from class org.eclipse.rse.core.subsystems. AuthenticatingConnectorService
credentialsProvider
 
Fields inherited from interface org.eclipse.rse.core.model. IRSEPersistableContainer
NO_CHILDREN
 
Constructor Summary
StandardConnectorService ( String name, String description, IHost host, int port)
          Construct a standard connector service.
 
Method Summary
protected   SystemSignonInformation getSignonInformation ()
           
 boolean requiresPassword ()
          Test if this connector service requires a password.
 boolean requiresUserId ()
          Test if this connector service requires a user id.
 boolean supportsPassword ()
          Determines if this connector service understand the concept of a password.
 boolean supportsUserId ()
          Reports if this connector service can use a user identifier.
 
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 org.eclipse.rse.core.model. PropertySetContainer
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet
 
Methods inherited from class org.eclipse.rse.core.model. RSEPersistableObject
compareStrings, isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.rse.core.subsystems. IConnectorService
isConnected
 
Methods inherited from interface org.eclipse.rse.core.model. IPropertySetContainer
addPropertySet, addPropertySets, createPropertySet, createPropertySet, getPropertySet, getPropertySets, removePropertySet
 
Methods inherited from interface org.eclipse.rse.core.model. IRSEPersistableContainer
isDirty, isTainted, setDirty, setTainted, setWasRestored, wasRestored
 

Constructor Detail

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 service
description - the description of the connector service
host - the host associated with this connector service
port - the port used by this connector service, if IP based
Method Detail

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.

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire