[Yanel-commits] rev 58298 - public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl

michi at wyona.com michi at wyona.com
Tue May 17 11:30:30 CEST 2011


Author: michi
Date: 2011-05-17 11:30:29 +0200 (Tue, 17 May 2011)
New Revision: 58298

Modified:
   public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java
Log:
use utility class

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	2011-05-17 09:22:40 UTC (rev 58297)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/DefaultWebAuthenticatorImpl.java	2011-05-17 09:30:29 UTC (rev 58298)
@@ -610,6 +610,7 @@
             log.warn("TODO: Implement auto-login");
             // Set auto login cookie containing username and secure token, whereas create new secure token per session
             // Implement this as utility method such that it can be re-used independent of the default authenticator!
+            AutoLogin.setCookie(loginUsername, request, response); // TODO: What about openID?!
             return true;
         } else {
             log.debug("Ignore auto login...");



More information about the Yanel-commits mailing list