EROpenIDManager.log.debug("Authentication request extension: " + ext);
authReq.addExtension(ext);
}
if (!discovered.isVersion2()) {
WORedirect redirect = new WORedirect(context);
String url = authReq.getDestinationUrl(true);
EROpenIDManager.log.debug("Request URL: " + url);
redirect.setUrl(url);
results = redirect;
}
else {
String formRedirectionPageName = ERXProperties.stringForKeyWithDefault("er.openid.formRedirectionPageName", EROFormRedirectionPage.class.getName());
EROFormRedirectionPage formRedirectionPage = (EROFormRedirectionPage)WOApplication.application().pageWithName(formRedirectionPageName, context);