Package org.jboss.identity.federation.api.openid

Examples of org.jboss.identity.federation.api.openid.OpenIDAttributeMap


      this.servletContext = octx.getServletContext();
   }

   public OpenIDAttributeMap getAttributeMap()
   {
      OpenIDAttributeMap map = new OpenIDAttributeMap();
      if ("1".equals(request.getParameter("nickname")))
      {
         map.put("nickname", "1");
      }
      if ("1".equals(request.getParameter("email")))
      {
         map.put("email", "1");
      }
      if ("1".equals(request.getParameter("fullname")))
      {
         map.put("fullname", "1");
      }
      if ("1".equals(request.getParameter("dob")))
      {
         map.put("dob", "1");
      }
      if ("1".equals(request.getParameter("gender")))
      {
         map.put("gender", "1");
      }
      if ("1".equals(request.getParameter("postcode")))
      {
         map.put("postcode", "1");
      }
      if ("1".equals(request.getParameter("country")))
      {
         map.put("country", "1");
      }
      if ("1".equals(request.getParameter("language")))
      {
         map.put("language", "1");
      }
      if ("1".equals(request.getParameter("timezone")))
      {
         map.put("timezone", "1");
      }

      return map;
   }
View Full Code Here


      this.servletContext = octx.getServletContext();
   }

   public OpenIDAttributeMap getAttributeMap()
   {
      OpenIDAttributeMap map = new OpenIDAttributeMap();
      if ("1".equals(request.getParameter("nickname")))
      {
         map.put("nickname", "1");
      }
      if ("1".equals(request.getParameter("email")))
      {
         map.put("email", "1");
      }
      if ("1".equals(request.getParameter("fullname")))
      {
         map.put("fullname", "1");
      }
      if ("1".equals(request.getParameter("dob")))
      {
         map.put("dob", "1");
      }
      if ("1".equals(request.getParameter("gender")))
      {
         map.put("gender", "1");
      }
      if ("1".equals(request.getParameter("postcode")))
      {
         map.put("postcode", "1");
      }
      if ("1".equals(request.getParameter("country")))
      {
         map.put("country", "1");
      }
      if ("1".equals(request.getParameter("language")))
      {
         map.put("language", "1");
      }
      if ("1".equals(request.getParameter("timezone")))
      {
         map.put("timezone", "1");
      }

      return map;
   }
View Full Code Here

TOP

Related Classes of org.jboss.identity.federation.api.openid.OpenIDAttributeMap

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.