You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jd...@apache.org on 2009/12/23 10:43:41 UTC
svn commit: r893450 -
/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WebSession.java
Author: jdonnerstag
Date: Wed Dec 23 09:43:40 2009
New Revision: 893450
URL: http://svn.apache.org/viewvc?rev=893450&view=rev
Log: (empty)
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=893450&r1=893449&r2=893450&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:43:40 2009
@@ -235,11 +235,14 @@
* cookie but something else that safely identifies the user. This method is meant to support
* these use cases.
*
+ * It is protected (and not public) to enforce that cookie based authentication gets implemented
+ * in a subclass (like you need to subclass authenticate() for 'normal' authentication).
+ *
* @see #authenticate(String, String)
*
* @param value
*/
- public final void signIn(boolean value)
+ protected final void signIn(boolean value)
{
signedIn = value;
}