Class Utils


  • public class Utils
    extends Object
    Author:
    Eric Perrone (ISTI - CNR), Luca Frosini (ISTI - CNR)
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getCurrentContext

        public static String getCurrentContext()
                                        throws org.gcube.common.authorization.client.exceptions.ObjectNotFound,
                                               Exception
        Throws:
        org.gcube.common.authorization.client.exceptions.ObjectNotFound
        Exception
      • setContext

        public static void setContext​(org.gcube.common.authorization.utils.secret.Secret secret)
                               throws Exception
        Throws:
        Exception