diff options
author | Eike Stepper | 2014-03-08 17:27:53 +0000 |
---|---|---|
committer | Eike Stepper | 2014-03-09 06:44:14 +0000 |
commit | 339f42ac5c2d5cd52cd54d340c8557d99daabb4c (patch) | |
tree | 59db83d2154affc5db8203546f8007ead0f8beae /plugins/org.eclipse.emf.cdo.server | |
parent | 4e59121792b693f3a2cf9070b9b111db71ee1285 (diff) | |
download | cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.tar.gz cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.tar.xz cdo-339f42ac5c2d5cd52cd54d340c8557d99daabb4c.zip |
Update Javadocs
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/AuthenticationUtil.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/AuthenticationUtil.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/AuthenticationUtil.java index 459eb13fed..07db389c4c 100644 --- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/AuthenticationUtil.java +++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/AuthenticationUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2013, 2014 Eike Stepper (Berlin, Germany) 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 @@ -13,8 +13,9 @@ package org.eclipse.emf.cdo.spi.server; import java.util.concurrent.Callable; /** - * @author Christian W. Damus (CEA LIST) + * Static utility methods for binding {@link IAuthenticationProtocol authentication protocols} to the current thread. * + * @author Christian W. Damus (CEA LIST) * @since 4.3 */ public final class AuthenticationUtil @@ -43,16 +44,16 @@ public final class AuthenticationUtil */ public static <V> Callable<V> authenticatingOperation(IAuthenticationProtocol authenticationProtocol, final Callable<V> operation) - { + { return new AuthenticatingOperation<V>(authenticationProtocol) - { + { @Override protected V doCall() throws Exception { return operation.call(); } - }; - } + }; + } /** * Encapsulation of an administrative operation requiring (potentially) client |