org.gcube.soa3.connector.common.security.utils
Class CredentialsBindedTasks
java.lang.Object
org.gcube.soa3.connector.common.security.utils.CredentialsBindedTasks
public class CredentialsBindedTasks
- extends Object
Utility to bind the execution of standard tasks to the current credentials.
- Author:
- Ciro Formisano
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CredentialsBindedTasks
public CredentialsBindedTasks()
bind
public static <V> Callable<V> bind(Callable<V> task)
- Binds a
Callable task to the current credentials.
- Parameters:
task - the task
- Returns:
- an equivalent
Callable task bound to the current credentials
bind
public static <V> Runnable bind(Runnable task)
- Binds a
Runnable task to the current credentials.
- Parameters:
task - the task
- Returns:
- an equivalent
Runnable task bound to the current credentials
Copyright © 2013. All Rights Reserved.