|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.subsystems.AbstractCredentialsProvider
public abstract class AbstractCredentialsProvider
The AbstractCredentialsProvider
provides the base
implementation of the ICredentialsProvider
interface. It remembers the connector service and suppression
state for the provider.
This class is meant to be subclassed.
Constructor Summary | |
---|---|
AbstractCredentialsProvider(IConnectorService connectorService)
Create a credentials provider for a particular connector service. |
Method Summary | |
---|---|
IConnectorService |
getConnectorService()
Retrieves the connector service associated with this provider. |
boolean |
isSuppressed()
Retrieves the suppression state of the provider. |
protected boolean |
requiresPassword()
|
protected boolean |
requiresUserId()
|
void |
setSuppressed(boolean suppressed)
Sets the suppressed state of the provider. |
protected boolean |
supportsPassword()
|
protected boolean |
supportsUserId()
|
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.ICredentialsProvider |
---|
acquireCredentials, clearCredentials, clearPassword, getCredentials, getUserId, repairCredentials, setPassword, setUserId |
Constructor Detail |
---|
public AbstractCredentialsProvider(IConnectorService connectorService)
connectorService
- the associatated connector service.Method Detail |
---|
public final IConnectorService getConnectorService()
ICredentialsProvider
getConnectorService
in interface ICredentialsProvider
public final boolean isSuppressed()
ICredentialsProvider
ICredentialsProvider.acquireCredentials(boolean)
will immediately cancel when invoked.
isSuppressed
in interface ICredentialsProvider
public final void setSuppressed(boolean suppressed)
ICredentialsProvider
ICredentialsProvider.acquireCredentials(boolean)
will immediately cancel when invoked.
setSuppressed
in interface ICredentialsProvider
suppressed
- true if the provider is to be suppressed.protected final boolean supportsUserId()
protected final boolean requiresUserId()
protected final boolean supportsPassword()
protected final boolean requiresPassword()
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |