diff options
author | Eike Stepper | 2010-03-10 05:29:16 +0000 |
---|---|---|
committer | Eike Stepper | 2010-03-10 05:29:16 +0000 |
commit | 1f5d684ecd6de6e24f1bd7c2699193b9b91c0f99 (patch) | |
tree | 437196ed5a2c9bd5230e57de321b29133fe19c46 /plugins/org.eclipse.net4j | |
parent | 7d380eee863141bb5f44e70d8f07338c34830a4d (diff) | |
download | cdo-1f5d684ecd6de6e24f1bd7c2699193b9b91c0f99.tar.gz cdo-1f5d684ecd6de6e24f1bd7c2699193b9b91c0f99.tar.xz cdo-1f5d684ecd6de6e24f1bd7c2699193b9b91c0f99.zip |
[256936] Support for Offline Mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256936
Diffstat (limited to 'plugins/org.eclipse.net4j')
-rw-r--r-- | plugins/org.eclipse.net4j/src/org/eclipse/net4j/connector/ConnectorCredentialsInjector.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/connector/ConnectorCredentialsInjector.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/connector/ConnectorCredentialsInjector.java index 9c69a73b3e..d3b74f140d 100644 --- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/connector/ConnectorCredentialsInjector.java +++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/connector/ConnectorCredentialsInjector.java @@ -23,10 +23,11 @@ import org.eclipse.net4j.util.security.SecurityUtil; * * <pre> * IManagedContainer container = IPluginContainer.INSTANCE; - * String connectorDescription = "localhost:2036"; * + * String connectorDescription = "localhost:2036"; * String userID = "name"; * String password = "secret"; + * * IPasswordCredentialsProvider credentialsProvider = new PasswordCredentialsProvider(userID, password); * * container.addPostProcessor(new ConnectorCredentialsInjector(connectorDescription, credentialsProvider)); |