logo       

roller/src/org/roller/model UserManager.java,1.22,1.23: msg#00201

Subject: roller/src/org/roller/model UserManager.java,1.22,1.23
Update of /cvsroot/roller/roller/src/org/roller/model
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7045/src/org/roller/model

Modified Files:
        UserManager.java 
Log Message:
Implemented "Remember Me" feature as recommended by Charles

Index: UserManager.java
===================================================================
RCS file: /cvsroot/roller/roller/src/org/roller/model/UserManager.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** UserManager.java    15 Feb 2004 05:33:10 -0000      1.22
--- UserManager.java    21 Mar 2004 04:33:56 -0000      1.23
***************
*** 89,92 ****
--- 89,118 ----
         */
        public PageData retrievePageReadOnly(String id) throws RollerException;
+     
+     /**
+      * Validates a user based on a cookie value.  If successful, it returns
+      * a new cookie String.  If not, then it returns null.
+      * 
+      * @param value (in format username|guid)
+      * @return indicator that this is a valid login
+      * @throws Exception
+      */
+     public String checkLoginCookie(String value) throws RollerException;
+  
+     /**
+      * Creates a cookie string using a username - designed for use when
+      * a user logs in and wants to be remembered.
+      * 
+      * @param username
+      * @return String to put in a cookie for remembering user
+      * @throws Exception
+      */
+     public String createLoginCookie(String username) throws RollerException;
+     
+     /**
+      * Deletes all cookies for user.
+      * @param username
+      */
+     public void removeLoginCookies(String username) throws RollerException;
  }
  



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe