[Yanel-commits] rev 30285 -
public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl
michi at wyona.com
michi at wyona.com
Fri Jan 11 00:23:15 CET 2008
Author: michi
Date: 2008-01-11 00:23:14 +0100 (Fri, 11 Jan 2008)
New Revision: 30285
Modified:
public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java
Log:
message added because OpenID implementation is not finished yet
Modified: public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java
===================================================================
--- public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java 2008-01-10 23:12:35 UTC (rev 30284)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java 2008-01-10 23:23:14 UTC (rev 30285)
@@ -58,6 +58,7 @@
// HTML Form based authentication
String loginUsername = request.getParameter("yanel.login.username");
+ String openID = request.getParameter("yanel.login.openid");
if(loginUsername != null) {
HttpSession session = request.getSession(true);
try {
@@ -85,6 +86,11 @@
getXHTMLAuthenticationForm(request, response, realm, "Login failed!", reservedPrefix, xsltLoginScreenDefault, servletContextRealPath, sslPort, map);
return response;
}
+ } else if (openID != null) {
+ // TODO: Implement OpenID ... (see for instance http://code.google.com/p/joid/)
+ log.warn("OpenID implementation not finished yet: [" + openID + "]");
+ getXHTMLAuthenticationForm(request, response, realm, "Login failed because OpenID implementation is not finished yet!", reservedPrefix, xsltLoginScreenDefault, servletContextRealPath, sslPort, map);
+ return response;
}
// Neutron-Auth based authentication
More information about the Yanel-commits
mailing list