Package org.gcube.application.cms.tests
Class TokenSetter
- java.lang.Object
-
- org.gcube.application.cms.tests.TokenSetter
-
public class TokenSetter extends Object
This class is used in order to set gCube Credentials for tests that needs a gCube Infrastructure. The method TokenSetter.set(String context) is used in order to specify the context to test. The library expects a Properties file /tokens.properties in the classpath like the following example : /root/vo/vre1 = GCUBE-TOKEN ... /devRoot/vo = JWT-TOKEN ...
-
-
Constructor Summary
Constructors Constructor Description TokenSetter()
-
-
-
Method Detail
-
set
public static void set(String scope)
-
-