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

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


                }

                if (!preAuthenticationGroups.isEmpty()) {
                    for (String group : preAuthenticationGroups.keySet()) {
                        for (String groupType : preAuthenticationGroups.get(group)) {
                            activeGroups.add(new SimpleGroup(group, groupType));
                        }
                    }
                    preAuthenticationGroups.clear();
                }
            }
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;

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

        if (name == null || "".equals(name) || groupType == null || "".equals(groupType)) {
            return false;
        }

        if (isLoggedIn()) {
            return activeGroups.add(new SimpleGroup(name, groupType));
        } else {
            List<String> groupTypes = null;
            if (preAuthenticationGroups.containsKey(name)) {
                groupTypes = preAuthenticationGroups.get(name);
            } else {
View Full Code Here

{

   @Override
   public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2)
   {
      return new SimpleGroup(arg2, "GROUP");
   }
View Full Code Here

            {
               for (String group : preAuthenticationGroups.keySet())
               {
                  for (String groupType : preAuthenticationGroups.get(group))
                  {
                     activeGroups.add(new SimpleGroup(group, groupType))
                  }              
               }
               preAuthenticationGroups.clear();
            }        
         }
View Full Code Here

            || 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

         return false;
      }
     
      if (isLoggedIn())
      {
         return activeGroups.add(new SimpleGroup(name, groupType));
      }
      else
      {        
         List<String> groupTypes = null;
         if (preAuthenticationGroups.containsKey(name))
View Full Code Here

@FacesConverter("groupConverter")
public class GroupConverter implements Converter {

    @Override
    public Object getAsObject(FacesContext arg0, UIComponent arg1, String arg2) {
        return new SimpleGroup(arg2, "GROUP");
    }
View Full Code Here

TOP

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

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.