Package org.jboss.identity.idm.api

Examples of org.jboss.identity.idm.api.IdentityType


   public void addAttributes(String id, Attribute[] attributes) throws IdentityException
   {
      checkNotNullArgument(id, "Id (Group) or name (User)");
      checkNotNullArgument(attributes, "Attributes");

      IdentityType identityType = createIdentityTypeFromId(id);

      addAttributes(identityType, attributes);

   }
View Full Code Here


   {
      checkNotNullArgument(id, "Id (Group) or name (User)");
      checkNotNullArgument(attributeName, "Attribute name");
      checkNotNullArgument(values, "Attribute values");

      IdentityType identityType = createIdentityTypeFromId(id);

      addAttribute(identityType, attributeName, values);

   }
View Full Code Here

   {
      checkNotNullArgument(id, "Id (Group) or name (User)");
      checkNotNullArgument(attributeName, "Attribute name");
      checkNotNullArgument(value, "Attribute value");

      IdentityType identityType = createIdentityTypeFromId(id);

      addAttribute(identityType, attributeName, value);

   }
View Full Code Here

   public void removeAttributes(String id, String[] attributeNames) throws IdentityException
   {
      checkNotNullArgument(id, "Id (Group) or name (User)");
      checkNotNullArgument(attributeNames, "Attribute names");

      IdentityType identityType = createIdentityTypeFromId(id);

      removeAttributes(identityType, attributeNames);

   }
View Full Code Here

      checkNotNullArgument(members, "members");


      for (Iterator<G> parentsIterator = parents.iterator(); parentsIterator.hasNext();)
      {
         IdentityType parent = parentsIterator.next();

         for (Iterator<I> membersIterator = members.iterator(); membersIterator.hasNext();)
         {
            IdentityType member = membersIterator.next();

            Collection<IdentityObjectRelationship> relationships = getRepository().resolveRelationships(getInvocationContext(), createIdentityObject(parent), createIdentityObject(member), MEMBER);

            if (relationships.size() == 0)
            {
View Full Code Here

   public AttributeDescription getAttributeDescription(String id, String attributeName)
   {
      checkNotNullArgument(id, "IdentityType Id");
      checkNotNullArgument(attributeName, "Attribute name");

      IdentityType identityType = createIdentityTypeFromId(id);

      return getAttributeDescription(identityType, attributeName);
     
   }
View Full Code Here

   public Map<String, AttributeDescription> getSupportedAttributesDescriptions(String id)
   {
      checkNotNullArgument(id, "Id (Group) or name (User)");

      IdentityType identityType = createIdentityTypeFromId(id);

      return getSupportedAttributesDescriptions(identityType);
   }
View Full Code Here

   public Set<String> getSupportedAttributeNames(String id) throws IdentityException
   {
      checkNotNullArgument(id, "Id (Group) or name (User)");

      IdentityType identityType = createIdentityTypeFromId(id);

      return getSupportedAttributeNames(identityType);
   }
View Full Code Here

   {

      checkNotNullArgument(id, "Id (Group) or name (User)");


      IdentityType identityType = createIdentityTypeFromId(id);

      return getAttributes(identityType);
   }
View Full Code Here

   public void updateAttributes(String id, Attribute[] attributes) throws IdentityException
   {
      checkNotNullArgument(id, "Id (Group) or name (User)");
      checkNotNullArgument(attributes, "Attributes");

      IdentityType identityType = createIdentityTypeFromId(id);

      updateAttributes(identityType, attributes);

   }
View Full Code Here

TOP

Related Classes of org.jboss.identity.idm.api.IdentityType

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.