Package com.cosmo.security.annotations

Examples of com.cosmo.security.annotations.RolesAllowed


    *
    * @return Un array de identificadores de rol.
    */
   private ArrayList<String> getRolesAllowed(Page page)
   {
      RolesAllowed ra;
      ArrayList<String> list;

      list = new ArrayList<String>();
      ra = page.getClass().getAnnotation(RolesAllowed.class);

      for (String str : ra.value())
      {
         list.add(str);
      }

      return list;
View Full Code Here

TOP

Related Classes of com.cosmo.security.annotations.RolesAllowed

Copyright © 2018 www.massapicom. 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.