Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-10-01 11:55:39 +0000
committerEike Stepper2008-10-01 11:55:39 +0000
commit47853bf9695b107109923d656308e0a8f6b76509 (patch)
treee80d2fcc41458f2a59478f82159263484fb1afc3 /plugins/org.eclipse.net4j.buddies.common
parent2e40f2d3123fad301a884a67d52ab2f8794d6002 (diff)
downloadcdo-47853bf9695b107109923d656308e0a8f6b76509.tar.gz
cdo-47853bf9695b107109923d656308e0a8f6b76509.tar.xz
cdo-47853bf9695b107109923d656308e0a8f6b76509.zip
[249296] Provide the userID also for IChannel through IUserAware
https://bugs.eclipse.org/bugs/show_bug.cgi?id=249296
Diffstat (limited to 'plugins/org.eclipse.net4j.buddies.common')
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IAccount.java6
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IBuddy.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IAccount.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IAccount.java
index c276a28041..7576978824 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IAccount.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IAccount.java
@@ -10,15 +10,15 @@
**************************************************************************/
package org.eclipse.net4j.buddies.common;
+import org.eclipse.net4j.util.security.IUserAware;
+
import java.util.Map;
/**
* @author Eike Stepper
*/
-public interface IAccount
+public interface IAccount extends IUserAware
{
- public String getUserID();
-
public void setPassword(String password);
public boolean authenticate(String password);
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IBuddy.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IBuddy.java
index 63a29dcf68..ea8dc1bfb2 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IBuddy.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/common/IBuddy.java
@@ -10,6 +10,8 @@
**************************************************************************/
package org.eclipse.net4j.buddies.common;
+import org.eclipse.net4j.util.security.IUserAware;
+
import org.eclipse.core.runtime.IAdaptable;
import java.util.Collection;
@@ -18,10 +20,8 @@ import java.util.Set;
/**
* @author Eike Stepper
*/
-public interface IBuddy extends IMembershipContainer, ICollaborationProvider, IAdaptable
+public interface IBuddy extends IUserAware, IMembershipContainer, ICollaborationProvider, IAdaptable
{
- public String getUserID();
-
public State getState();
public IAccount getAccount();

Back to the top