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;
}