|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.datatransformation.datatransformationlibrary.security.DTSSManager
public class DTSSManager
| Field Summary | |
|---|---|
protected static HashMap<org.gcube.common.core.scope.GCUBEScope,DTSCore> |
dCoreMap
|
| Constructor Summary | |
|---|---|
DTSSManager()
|
|
| Method Summary | |
|---|---|
static DTSCore |
getDTSCore()
Returns the DTSCore instance which is used in this scope. |
static org.gcube.common.core.scope.GCUBEScope |
getScope()
Returns the scope in which the transformationUnit operates. |
static org.gcube.common.core.security.GCUBESecurityManager |
getSecurityManager()
Returns the security manager after setting to it the thread local credentials. |
static void |
init(org.gcube.common.core.contexts.GCUBEServiceContext serviceContext)
Initializes the DTSSManager. |
static void |
setScope(String scope)
Sets the scope in which the transformationUnit operates. |
static void |
setSecurityManager(org.gcube.common.core.security.GCUBESecurityManager manager)
Sets the security manager which will be used by the service. |
static void |
useCredentials(org.gcube.common.core.security.SecurityCredentials credentials)
Uses the credentials in the current thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static volatile HashMap<org.gcube.common.core.scope.GCUBEScope,DTSCore> dCoreMap
| Constructor Detail |
|---|
public DTSSManager()
| Method Detail |
|---|
public static void setSecurityManager(org.gcube.common.core.security.GCUBESecurityManager manager)
manager - The security manager.public static org.gcube.common.core.security.GCUBESecurityManager getSecurityManager()
public static void useCredentials(org.gcube.common.core.security.SecurityCredentials credentials)
credentials - The credentials which will be used.public static org.gcube.common.core.scope.GCUBEScope getScope()
public static void setScope(String scope)
scope - the scope in which the transformationUnit operates.
public static DTSCore getDTSCore()
throws org.gcube.common.core.faults.GCUBEFault
DTSCore instance which is used in this scope.
DTSCore instance which is used in this scope.
org.gcube.common.core.faults.GCUBEFault - If the service is not deployed in the scope in which the request is maid.
public static void init(org.gcube.common.core.contexts.GCUBEServiceContext serviceContext)
throws Exception
serviceContext - The gCube context of the service.
Exception - If the DTSSManager could not be initialized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||