diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/BasicConnectorService.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/BasicConnectorService.java index 24d31ba7ee3..cedabc7e97c 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/BasicConnectorService.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/subsystems/BasicConnectorService.java @@ -1,15 +1,15 @@ /******************************************************************************** * Copyright (c) 2002, 2008 IBM Corporation. All rights reserved. * This program and the accompanying materials are made available under the terms - * of the Eclipse Public License v1.0 which accompanies this distribution, and is + * of the Eclipse Public License v1.0 which accompanies this distribution, and is * available at http://www.eclipse.org/legal/epl-v10.html - * + * * Initial Contributors: * The following IBM employees contributed to the Remote System Explorer - * component that contains this file: David McKnight, Kushal Munir, - * Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson, + * component that contains this file: David McKnight, Kushal Munir, + * Michael Berger, David Dykstal, Phil Coulthard, Don Yantzi, Eric Simpson, * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. - * + * * Contributors: * David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies * David Dykstal (IBM) - [225089][ssh][shells][api] Canceling connection leads to exception @@ -20,13 +20,13 @@ import org.eclipse.core.runtime.OperationCanceledException; import org.eclipse.rse.core.model.IHost; /** - * A basic connector service is one that does not require any type of + * A basic connector service is one that does not require any type of * authentication to connect to its target system. * Since this is the case, many of the methods of * {@link IConnectorService} are implemented only in skeletal form. */ public abstract class BasicConnectorService extends AbstractConnectorService { - + /** * Constructs a basic connector service. * @param name The name of the connector service @@ -37,7 +37,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public BasicConnectorService(String name, String description, IHost host, int port) { super(name, description, host, port); } - + /** * Indicates if this connector service understands passwords. * This implementation always returns false. @@ -48,7 +48,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean supportsPassword() { return false; } - + /** * Indicates if this connector service requires passwords. * This implementation always returns false. @@ -59,7 +59,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean requiresPassword() { return false; } - + /** * Indicates if this connector service understands user ids. * This implementation always returns false. @@ -70,7 +70,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean supportsUserId() { return false; } - + /** * Indicates if this connector service requires a user id. * This implementation always returns false. @@ -81,15 +81,15 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean requiresUserId() { return false; } - + /** - * Acquires credentials. - * This implmentation does nothing. + * Acquires credentials. This implementation does nothing. + * * @see org.eclipse.rse.core.subsystems.IConnectorService#acquireCredentials(boolean) */ public void acquireCredentials(boolean refresh) throws OperationCanceledException { } - + /** * Clears credentials. * This implementation does nothing. @@ -97,7 +97,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void clearCredentials() { } - + /** * Clears a password. * This implementation does nothing. @@ -105,7 +105,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void clearPassword(boolean persist, boolean propagate) { } - + /** * Gets the user id. * This implementation returns null. @@ -115,7 +115,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public String getUserId() { return null; } - + /** * Indicates the presence of a password. * This implementation returns false. @@ -126,7 +126,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean hasPassword(boolean onDisk) { return false; } - + /** * Indicates if this connector service can inherit its credentials from others. * This implementation returns false. @@ -136,7 +136,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean inheritsCredentials() { return false; } - + /** * Indicates if this connector service is currently being suppressed. * This implementation returns false. @@ -146,7 +146,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { public boolean isSuppressed() { return false; } - + /** * Removes the persistent form of a password. * This implementation does nothing. @@ -154,7 +154,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void removePassword() { } - + /** * Removes the persistent form of the default user id. * This implementation does nothing. @@ -162,7 +162,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void removeUserId() { } - + /** * Saves the remembered password persistently. * This implementation does nothing. @@ -170,7 +170,7 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void savePassword() { } - + /** * Saves the remembered user id persistently. * This implementation does nothing. @@ -178,20 +178,22 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void saveUserId() { } - + /** * Sets the password for a particular user id and optionally persists it. - * This implemenation does nothing. + * This implementation does nothing. + * * @param matchingUserId the user id to set the password for * @param password the password to set. * @param persist true if this is to be persisted. * @param propagate true if this password should be propagated to other - * connector services. - * @see org.eclipse.rse.core.subsystems.IConnectorService#setPassword(java.lang.String, java.lang.String, boolean, boolean) + * connector services. + * @see org.eclipse.rse.core.subsystems.IConnectorService#setPassword(java.lang.String, + * java.lang.String, boolean, boolean) */ public void setPassword(String matchingUserId, String password, boolean persist, boolean propagate) { } - + /** * Indicates if credentials are shared with other connector services. * This implementation returns false. @@ -218,5 +220,5 @@ public abstract class BasicConnectorService extends AbstractConnectorService { */ public void setUserId(String userId) { } - + } \ No newline at end of file