Author: jdonnerstag
Date: Wed Dec 23 09:09:46 2009
New Revision: 893439

URL: http://svn.apache.org/viewvc?rev=893439&view=rev
Log:
Allow subclasses of AuthenticatedWebSession to set "signedIn" field
Issue: WICKET-2591

Modified:
    
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebSession.java

Modified: 
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebSession.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebSession.java?rev=893439&r1=893438&r2=893439&view=diff
==============================================================================
--- 
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebSession.java
 (original)
+++ 
wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebSession.java
 Wed Dec 23 09:09:46 2009
@@ -231,6 +231,20 @@
        }
 
        /**
+        * Cookie based logins (remember me) may not rely on putting username 
and password into the
+        * cookie but something else that safely identifies the user. This 
method is meant to support
+        * these use cases.
+        * 
+        * @see #authenticate(String, String)
+        * 
+        * @param value
+        */
+       public final void signIn(boolean value)
+       {
+               signedIn = value;
+       }
+
+       /**
         * Note: You must subclass WebSession and implement your own. We didn't 
want to make it abstract
         * to force every application to implement it. Instead we throw an 
exception.
         * 


Reply via email to