Author: gseitz
Date: Wed Jan 30 14:08:59 2008
New Revision: 616920

URL: http://svn.apache.org/viewvc?rev=616920&view=rev
Log:
deprecated constructor AuthenticatedWebSession(Application, Request)
added constructor AuthenticatedWebSession(Request)

Modified:
    
wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebSession.java

Modified: 
wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebSession.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebSession.java?rev=616920&r1=616919&r2=616920&view=diff
==============================================================================
--- 
wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebSession.java
 (original)
+++ 
wicket/trunk/jdk-1.5/wicket-auth-roles/src/main/java/org/apache/wicket/authentication/AuthenticatedWebSession.java
 Wed Jan 30 14:08:59 2008
@@ -25,13 +25,13 @@
 /**
  * Basic authenticated web session. Subclasses must provide a method that 
authenticates the session
  * based on a username and password, and a method implementation that gets the 
Roles
- * 
+ *
  * @author Jonathan Locke
  */
 public abstract class AuthenticatedWebSession extends WebSession
 {
        /**
-        * 
+        *
         */
        private static final long serialVersionUID = 1L;
 
@@ -48,21 +48,33 @@
 
        /**
         * Construct.
-        * 
+        *
         * @param application
         *            The web application
         * @param request
         *            The current request object
-        * @param response
+        * @deprecated Use [EMAIL PROTECTED] #AuthenticatedWebSession(Request)}
         */
+       @Deprecated
        public AuthenticatedWebSession(final AuthenticatedWebApplication 
application, Request request)
        {
                super(application, request);
        }
 
        /**
+        * Construct.
+        *
+        * @param request
+        *            The current request object
+        */
+       public AuthenticatedWebSession(Request request)
+       {
+               super(request);
+       }
+
+       /**
         * Authenticates this session using the given username and password
-        * 
+        *
         * @param username
         *            The username
         * @param password
@@ -86,7 +98,7 @@
 
        /**
         * Signs user in by authenticating them with a username and password
-        * 
+        *
         * @param username
         *            The username
         * @param password


Reply via email to