Package org.eclipse.emf.cdo.spi.server
Klasse AuthenticationUtil
java.lang.Object
org.eclipse.emf.cdo.spi.server.AuthenticationUtil
Static utility methods for binding
authentication protocols to the current thread.- Seit:
- 4.3
- Autor:
- Christian W. Damus (CEA LIST)
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classEncapsulation of an administrative operation requiring (potentially) client authentication to authorize the operation. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <V> Callable<V> authenticatingOperation(IAuthenticationProtocol authenticationProtocol, Callable<V> operation) Wrap anoperationto make an authentication protocol available to the thread that invokes it, for the duration of theoperation's execution.static IAuthenticationProtocolObtains the authentication protocol, if any, on which the current thread should authenticate administrative operations in handling incoming signals.
-
Methodendetails
-
getAuthenticationProtocol
Obtains the authentication protocol, if any, on which the current thread should authenticate administrative operations in handling incoming signals.- Gibt zurück:
- the authentication protocol to use, or
nullif authentication is not required
-
authenticatingOperation
public static <V> Callable<V> authenticatingOperation(IAuthenticationProtocol authenticationProtocol, Callable<V> operation) Wrap anoperationto make an authentication protocol available to the thread that invokes it, for the duration of theoperation's execution.
-