Package org.jboss.seam.security.external

Examples of org.jboss.seam.security.external.OpenIdRequestedAttributeImpl


    private void handleAttributeRequests(FetchRequest fetchRequest, List<OpenIdRequestedAttribute> requestedAttributes, boolean required) {
        @SuppressWarnings("unchecked")
        Map<String, String> attributes = fetchRequest.getAttributes(required);

        for (Map.Entry<String, String> entry : attributes.entrySet()) {
            OpenIdRequestedAttributeImpl requestedAttribute = new OpenIdRequestedAttributeImpl();
            requestedAttribute.setAlias(entry.getKey());
            requestedAttribute.setTypeUri(entry.getValue());
            requestedAttribute.setRequired(required);
            requestedAttribute.setCount(fetchRequest.getCount(entry.getKey()));
            requestedAttributes.add(requestedAttribute);
        }
    }
View Full Code Here


            throw new RuntimeException(e);
        }
    }

    public OpenIdRequestedAttribute createOpenIdRequestedAttribute(String alias, String typeUri, boolean required, Integer count) {
        return new OpenIdRequestedAttributeImpl(alias, typeUri, required, count);
    }
View Full Code Here

      @SuppressWarnings("unchecked")
      Map<String, String> attributes = fetchRequest.getAttributes(required);

      for (Map.Entry<String, String> entry : attributes.entrySet())
      {
         OpenIdRequestedAttributeImpl requestedAttribute = new OpenIdRequestedAttributeImpl();
         requestedAttribute.setAlias(entry.getKey());
         requestedAttribute.setTypeUri(entry.getValue());
         requestedAttribute.setRequired(required);
         requestedAttribute.setCount(fetchRequest.getCount(entry.getKey()));
         requestedAttributes.add(requestedAttribute);
      }
   }
View Full Code Here

      }
   }

   public OpenIdRequestedAttribute createOpenIdRequestedAttribute(String alias, String typeUri, boolean required, Integer count)
   {
      return new OpenIdRequestedAttributeImpl(alias, typeUri, required, count);
   }
View Full Code Here

TOP

Related Classes of org.jboss.seam.security.external.OpenIdRequestedAttributeImpl

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.