protected DirectError(OpenIDException e, boolean compatibility) { this(e, e.getMessage(), compatibility); }
public static IndirectError createIndirectError(OpenIDException e, String returnTo, boolean compatibility) { return createIndirectError(e, e.getMessage(), returnTo, compatibility); }
public static DirectError createDirectError(OpenIDException e, boolean compatibility) { return createDirectError(e, e.getMessage(), compatibility); }
List discoveries = manager.discover(userSuppliedString); DiscoveryInformation discovered = manager.associate(discoveries); AuthRequest authReq = manager.authenticate(discovered, returnToUrl); FetchRequest fetch = FetchRequest.createFetchRequest(); fetch.addAttribute("email", // attribute alias "http://schema.openid.net/contact/email", // type URI true); // required authReq.addExtension(fetch); SRegRequest sregReq = SRegRequest.createFetchRequest(); sregReq.addAttribute("email", true); authReq.addExtension(sregReq); if (!discovered.isVersion2()) { httpResp.sendRedirect(authReq.getDestinationUrl(true)); return null; } else { throw new RuntimeException("wrap:" + e.getMessage(), e);
List discoveries = manager.discover(userSuppliedString); discovered = manager.associate(discoveries); AuthRequest authReq = manager.authenticate(discovered, returnToUrl); FetchRequest fetch = FetchRequest.createFetchRequest(); fetch.addAttribute("emailax", "http://axschema.org/contact/email", true); fetch.addAttribute("firstnameax", "http://axschema.org/namePerson/first", true); fetch.addAttribute("lastnameax", "http://axschema.org/namePerson/last", true); fetch.addAttribute("fullnameax", "http://axschema.org/namePerson", true); fetch.addAttribute("email", "http://schema.openid.net/contact/email", true); fetch.addAttribute("firstname", "http://schema.openid.net/namePerson/first", true); fetch.addAttribute("lastname", "http://schema.openid.net/namePerson/last", true);
List discoveries = manager.discover(userSuppliedString); DiscoveryInformation discovered = manager.associate(discoveries); AuthRequest authReq = manager.authenticate(discovered, returnToUrl); FetchRequest fetch = FetchRequest.createFetchRequest(); fetch.addAttribute("email", // attribute alias "http://schema.openid.net/contact/email", // type URI true); // required authReq.addExtension(fetch); SRegRequest sregReq = SRegRequest.createFetchRequest(); sregReq.addAttribute("email", true); authReq.addExtension(sregReq); if (! discovered.isVersion2() ) httpResp.sendRedirect(authReq.getDestinationUrl(true)); return null; throw new RuntimeException("wrap:" + e.getMessage(), e);
List<?> discoveries = manager.discover(openidServiceId); DiscoveryInformation discovered = manager.associate(discoveries); AuthRequest authReq = manager.authenticate(discovered, returnToUrl); FetchRequest fetch = FetchRequest.createFetchRequest(); fetch.addAttribute("email", authReq.addExtension(fetch); if (!discovered.isVersion2()) { httpResp.sendRedirect(authReq.getDestinationUrl(true)); } else { sendFormRedirect(httpResp, authReq.getDestinationUrl(false), (Map<String,String>)authReq.getParameterMap()); e.printStackTrace(System.err);
public static DirectError createDirectError(OpenIDException e, boolean compatibility) { return createDirectError(e, e.getMessage(), compatibility); }
public static IndirectError createIndirectError(OpenIDException e, String returnTo, boolean compatibility) { return createIndirectError(e, e.getMessage(), returnTo, compatibility); }
protected DirectError(OpenIDException e, boolean compatibility) { this(e, e.getMessage(), compatibility); }
List discoveries = manager.discover(userSuppliedString); DiscoveryInformation discovered = manager.associate(discoveries); AuthRequest authReq = manager.authenticate(discovered, returnToUrl); FetchRequest fetch = FetchRequest.createFetchRequest(); fetch.addAttribute("email", // attribute alias "http://schema.openid.net/contact/email", // type URI true); // required authReq.addExtension(fetch); SRegRequest sregReq = SRegRequest.createFetchRequest(); sregReq.addAttribute("email", true); authReq.addExtension(sregReq); if (! discovered.isVersion2() ) httpResp.sendRedirect(authReq.getDestinationUrl(true)); return null; throw new RuntimeException("wrap:" + e.getMessage(), e);
public static DirectError createDirectError(OpenIDException e, boolean compatibility) { return createDirectError(e, e.getMessage(), compatibility); }
public static IndirectError createIndirectError(OpenIDException e, String returnTo, boolean compatibility) { return createIndirectError(e, e.getMessage(), returnTo, compatibility); }
protected DirectError(OpenIDException e, boolean compatibility) { this(e, e.getMessage(), compatibility); }
public static DirectError createDirectError(OpenIDException e, boolean compatibility) { return createDirectError(e, e.getMessage(), compatibility); }
public static IndirectError createIndirectError(OpenIDException e, String returnTo, boolean compatibility) { return createIndirectError(e, e.getMessage(), returnTo, compatibility); }
protected DirectError(OpenIDException e, boolean compatibility) { this(e, e.getMessage(), compatibility); }
public static DirectError createDirectError(OpenIDException e, boolean compatibility) { return createDirectError(e, e.getMessage(), compatibility); }
public static IndirectError createIndirectError(OpenIDException e, String returnTo, boolean compatibility) { return createIndirectError(e, e.getMessage(), returnTo, compatibility); }
protected DirectError(OpenIDException e, boolean compatibility) { this(e, e.getMessage(), compatibility); }