Package org.exoplatform.portal.gadget.core

Examples of org.exoplatform.portal.gadget.core.SecurityTokenGenerator.createToken()


    }

    public static String createToken(String gadgetURL, Long moduleId) {
        SecurityTokenGenerator tokenGenerator = (SecurityTokenGenerator) ExoContainerContext.getCurrentContainer()
                .getComponentInstanceOfType(SecurityTokenGenerator.class);
        return tokenGenerator.createToken(gadgetURL, moduleId);
    }

    /**
     * Gets map metadata of gadget application
     *
 
View Full Code Here


   public static String createToken(String gadgetURL, Long moduleId)
   {
      SecurityTokenGenerator tokenGenerator =
         (SecurityTokenGenerator)ExoContainerContext.getCurrentContainer().getComponentInstanceOfType(
            SecurityTokenGenerator.class);
      return tokenGenerator.createToken(gadgetURL, moduleId);
   }

   /**
    * Gets map metadata of gadget application
    *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.