Package org.picketlink.idm.impl.api.model

Examples of org.picketlink.idm.impl.api.model.SimpleRole


    public boolean addRole(String roleType, String group, String groupType) {
        if (roleType == null || "".equals(roleType) || group == null || "".equals(group)
                || groupType == null || "".equals(groupType)) return false;

        if (isLoggedIn()) {
            return activeRoles.add(new SimpleRole(new SimpleRoleType(roleType),
                    user, new SimpleGroup(group, groupType)));
        } else {
            List<String> roleTypes = null;

            Map<String, List<String>> groupTypes = preAuthenticationRoles.get(group);
View Full Code Here


      roleGroup = null;
   }
  
   public String roleSave()
   {     
      roles.add(new SimpleRole(roleType, null, roleGroup));
      return "success";
   }
View Full Code Here

      if (roleType == null || "".equals(roleType) || group == null || "".equals(group)
            || groupType == null || "".equals(groupType)) return false;
     
      if (isLoggedIn())
      {
         return activeRoles.add(new SimpleRole(new SimpleRoleType(roleType),
               user, new SimpleGroup(group, groupType)));
      }
      else
      {
         List<String> roleTypes = null;
View Full Code Here

        roleType = null;
        roleGroup = null;
    }

    public String roleSave() {
        roles.add(new SimpleRole(roleType, null, roleGroup));
        return "success";
    }
View Full Code Here

TOP

Related Classes of org.picketlink.idm.impl.api.model.SimpleRole

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.