+ request.getParameter(StaticConfig.DEBUG_ARGUMENT_KEY);
}
System.out.println("authenticate cookies");
AuthRequest authReq = manager.authenticate(discovered, returnUrl, null);
System.out.println("fetch request");
FetchRequest fetch = FetchRequest.createFetchRequest();
System.out.println("fetching attributes");
fetch.addAttribute("oiFirstName", "http://schema.openid.net/namePerson/first", true);
fetch.addAttribute("oiLastName", "http://schema.openid.net/namePerson/last", true);
fetch.addAttribute("aFirstName", "http://axschema.org/namePerson/first", true);
fetch.addAttribute("aLastName", "http://axschema.org/namePerson/last", true);
fetch.addAttribute("aFullName", "http://axschema.org/namePerson", true);
fetch.addAttribute("aNickName", "http://axschema.org/namePerson/friendly", true);
fetch.addAttribute("oiNickName", "http://openid.net/schema/namePerson/friendly", true);
fetch.addAttribute("aEmail", "http://axschema.org/contact/email", true);
fetch.addAttribute("oiEmail", "http://schema.openid.net/contact/email", true);
System.out.println("adding extension");
authReq.addExtension(fetch);
// redirect to OpenID for authentication
System.out.println("sending redirect");