Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-03-10 05:29:16 +0000
committerEike Stepper2010-03-10 05:29:16 +0000
commit1f5d684ecd6de6e24f1bd7c2699193b9b91c0f99 (patch)
tree437196ed5a2c9bd5230e57de321b29133fe19c46 /plugins/org.eclipse.net4j
parent7d380eee863141bb5f44e70d8f07338c34830a4d (diff)
downloadcdo-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.java3
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 = &quot;localhost:2036&quot;;
*
+ * String connectorDescription = &quot;localhost:2036&quot;;
* String userID = &quot;name&quot;;
* String password = &quot;secret&quot;;
+ *
* IPasswordCredentialsProvider credentialsProvider = new PasswordCredentialsProvider(userID, password);
*
* container.addPostProcessor(new ConnectorCredentialsInjector(connectorDescription, credentialsProvider));

Back to the top