Examples of SimpleRoleGroup


Examples of org.jboss.security.identity.plugins.SimpleRoleGroup

      assertTrue(secondRoleGroup.containsAtleastOneRole(firstRoleGroup));
   }

   public void testSimpleRoleGroup()
   {
      SimpleRoleGroup srg = new SimpleRoleGroup("Roles");
      srg.addRole(new SimpleRole("aRole"));
      assertTrue(srg.containsAll(new SimpleRole("aRole")));
   }
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.