Returns all <code>user-attribute</code> elements
@return list of <code>user-attribute</code>
960748
public List<UserAttributeType<PortletAppType<T>>> getAllUserAttribute()
   {
      List<UserAttributeType<PortletAppType<T>>> list = new ArrayList<UserAttributeType<PortletAppType<T>>>();
      List<Node> nodeList = childNode.get("user-attribute");
      for(Node node: nodeList)
      {
         UserAttributeType<PortletAppType<T>>  type = new UserAttributeTypeImpl<PortletAppType<T>>(this, "user-attribute", childNode, node);
         list.add(type);
      }
      return list;
   }
871033
public List<TldAttributeType<TagType<T>>> getAllAttribute()
   {
      List<TldAttributeType<TagType<T>>> list = new ArrayList<TldAttributeType<TagType<T>>>();
      List<Node> nodeList = childNode.get("attribute");
      for(Node node: nodeList)
      {
         TldAttributeType<TagType<T>>  type = new TldAttributeTypeImpl<TagType<T>>(this, "attribute", childNode, node);
         list.add(type);
      }
      return list;
   }
663566
public List<OneToOne<EmbeddableAttributes<T>>> getAllOneToOne()
   {
      List<OneToOne<EmbeddableAttributes<T>>> list = new ArrayList<OneToOne<EmbeddableAttributes<T>>>();
      List<Node> nodeList = childNode.get("one-to-one");
      for(Node node: nodeList)
      {
         OneToOne<EmbeddableAttributes<T>>  type = new OneToOneImpl<EmbeddableAttributes<T>>(this, "one-to-one", childNode, node);
         list.add(type);
      }
      return list;
   }
700195
public java.util.List<java.util.Map<String, AttributeValue>> getKeys() {
        return keys;
    }
177802
public Set<Role> findRoles(final User user)
    {
        final Set<Role> result = new HashSet<Role>();
        
        Object source;
        for(final RoleMapping mapping : this.getRoleMappings())
        {
            source = mapping.getSource();
            
            if((user != null) && user.equals(source))
            {
                result.add(mapping.getTarget());
            }
        }
        
        return result;
    }
1236062
@Override
    public Set<IPortletEntity> getPortletEntitiesForUser(int userId) {
        final Set<IPortletEntity> portletEntities =
                this.delegatePortletEntityDao.getPortletEntitiesForUser(userId);
        return this.wrapEntities(portletEntities);
    }
420392
public String[] getAllUsers()
	{
		String[] users = new String[allUsers.size()];
		allUsers.toArray(users);
		return users;
	}
1141527
@Override
    public Map<String, List<Object>> getAttributeMap() {
        final Map<String, List<Object>> attrMap = userAttributes;
        return attrMap;
    }
202471
public List<PartialResponseAttributesType<PartialResponseChangesType<T>>> getAllAttributes()
   {
      List<PartialResponseAttributesType<PartialResponseChangesType<T>>> list = new ArrayList<PartialResponseAttributesType<PartialResponseChangesType<T>>>();
      List<Node> nodeList = childNode.get("attributes");
      for(Node node: nodeList)
      {
         PartialResponseAttributesType<PartialResponseChangesType<T>>  type = new PartialResponseAttributesTypeImpl<PartialResponseChangesType<T>>(this, "attributes", childNode, node);
         list.add(type);
      }
      return list;
   }
1202548
private static Set<String> extractUserRoles(final UsersType.User user) {
        Set<String> roles = new TreeSet<>();
        if (user == null) {
            return roles;
        }

        if (user.getRoles() != null && !user.getRoles().trim().isEmpty()) {
            String [] rolelist = user.getRoles().trim().split(",");
            for (String role: rolelist) {
                if( role == null || role.trim().isEmpty()) {
                    continue;
                }
                roles.add(role.trim().toLowerCase());
            }
        }

        return roles;
    }
299459
public UserAttributeType<PortletDescriptor> getOrCreateUserAttribute()
   {
      List<Node> nodeList = model.get("user-attribute");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new UserAttributeTypeImpl<PortletDescriptor>(this, "user-attribute", model, nodeList.get(0));
      }
      return createUserAttribute();
   }
160611
public java.util.List<String> getIamUserArns() {
        if (iamUserArns == null) {
            iamUserArns = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return iamUserArns;
    }
314107
public Collection<String> listAttributeNames() {
        List<String> list = new ArrayList<String>();
        try {
            MBeanAttributeInfo[] attrs = beanInfo.getAttributes();
            for (MBeanAttributeInfo attr : attrs) {
                list.add(attr.getName());
            }
        } catch (Exception e) {
            throwException("Could not list attribute names. Reason: ", e);
        }
        return list;
    }
1187929
private Set<String> getUserRoles(Subject subject) {
        Set<String> userRoles = null;

        // get roles from specified classes
        Set<Principal> principals = subject.getPrincipals();
        if (roleClassNames != null && roleClassNames.size() > 0) {
            for (Principal p : principals) {
                if (roleClassNames.contains(p.getClass().getName())) {
                    if (userRoles == null) userRoles = new HashSet<String>();
                    userRoles.add(p.getName());
                }
            }
        }

        // get roles from specified attributes
        Map<String, Set<String>> attributes =
                SubjectUtils.getAttributes(subject);
        for (String key : attributes.keySet()) {
            if (roleAttributeNames.contains(key)) {
                if (userRoles == null) userRoles = new HashSet<String>();
                userRoles.addAll(attributes.get(key));
            }
        }

        if (userRoles == null) userRoles = Collections.emptySet();
        if (logger.isDebugEnabled()) {
            for (String r : userRoles) {
                logger.debug("found role: {}", r);
            }
        }

        return userRoles;
    }
1283261
public static List<Entry> userStructure(User user) {
        List<Entry> entryList = new LinkedList<>();
        entryList.add(namedObject(user.getUsername(), DnFactory.users()));
        entryList.addAll(createCredentialsEntries(user));
        entryList.addAll(createUserAttributesEntries(user));
        return entryList;
    }
569604
public java.util.List<ParameterAttribute> getAttributes() {
        if (attributes == null) {
            attributes = new com.amazonaws.internal.SdkInternalList<ParameterAttribute>();
        }
        return attributes;
    }
98850
@Override
    public Map<String, List<Object>> getAttributes() {
        final Map<String, List<Object>> attributeMap = new LinkedHashMap<String, List<Object>>();

        for (final LocalAccountPersonAttributeImpl attribute : attributes) {
            final List<Object> objValues = this.getObjectValues(attribute);
            attributeMap.put(attribute.getName(), objValues);
        }

        return Collections.unmodifiableMap(attributeMap);
    }