Package org.jboss.identity.idm.impl.api

Examples of org.jboss.identity.idm.impl.api.SimpleAttribute


   {
      checkNotNullArgument(identityType, "IdentityType");
      checkNotNullArgument(attributeName, "Attribute name");
      checkNotNullArgument(value, "Attribute value");

      Attribute[] attrs = new Attribute[]{new SimpleAttribute(attributeName, value)};


      addAttributes(identityType, attrs);

   }
View Full Code Here


   public User findUserByUniqueAttribute(String attributeName, Object value) throws IdentityException
   {
      checkNotNullArgument(attributeName, "Attribute name");
      checkNotNullArgument(value, "Attribute value");

      IdentityObject io = getRepository().findIdentityObjectByUniqueAttribute(getInvocationContext(), getUserObjectType(), new SimpleAttribute(attributeName, value));

      if (io == null)
      {
         return null;
      }
View Full Code Here

      checkNotNullArgument(attributeName, "Attribute name");
      checkNotNullArgument(value, "Attribute value");

      IdentityObject io = getRepository().findIdentityObjectByUniqueAttribute(getInvocationContext(),
         getIdentityObjectType(groupType),
         new SimpleAttribute(attributeName, value));

      if (io == null)
      {
         return null;
      }
View Full Code Here

TOP

Related Classes of org.jboss.identity.idm.impl.api.SimpleAttribute

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.