Class 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 Detail

      • TokenSetter

        public TokenSetter()
    • Method Detail

      • set

        public static void set​(String scope)