Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2013-10-18 20:55:32 +0000
committerChristian W. Damus2013-10-19 19:41:09 +0000
commitc36d3d91a6a326b728ec4883cd30b00800f2902f (patch)
tree685b70e98d31f282e7ad540f986b53b8d08ee374 /plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/IPasswordCredentialsUpdateProvider.java
parent818bb91c31a41509583a81ebe37439c187ea5cfd (diff)
downloadcdo-c36d3d91a6a326b728ec4883cd30b00800f2902f.tar.gz
cdo-c36d3d91a6a326b728ec4883cd30b00800f2902f.tar.xz
cdo-c36d3d91a6a326b728ec4883cd30b00800f2902f.zip
[399306] [Security] Add password management
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399306 Initial implementation of Change Password: - client->server request to initiate password change - server->client request to change password, implemented via the Diffie-Hellman key agreement utility - optional API for pluggable credentials providers to provide updates to the user's credentials - updated default interactive credentials provider to use a new CredentialsUpdateDialog to get a new password from the user (with implicit authentication)
Diffstat (limited to 'plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/IPasswordCredentialsUpdateProvider.java')
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/IPasswordCredentialsUpdateProvider.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/IPasswordCredentialsUpdateProvider.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/IPasswordCredentialsUpdateProvider.java
new file mode 100644
index 0000000000..6745ae2197
--- /dev/null
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/security/IPasswordCredentialsUpdateProvider.java
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2013 Eike Stepper (Berlin, Germany), CEA LIST, and others.
+ * 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 available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christian W. Damus (CEA LIST) - initial API and implementation
+ */
+package org.eclipse.net4j.util.security;
+
+/**
+ * Interface for providers of password credentials updates.
+ *
+ * @since 3.4
+ */
+public interface IPasswordCredentialsUpdateProvider
+{
+ public IPasswordCredentialsUpdate getCredentialsUpdate();
+
+ public IPasswordCredentialsUpdate getCredentialsUpdate(String realm);
+}

Back to the top