KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > j2ee > blueprints > clientstate > PasswordStrategy


1 /* Copyright 2004 Sun Microsystems, Inc. All rights reserved. You may not modify, use, reproduce, or distribute this software except in compliance with the terms of the License at:
2  http://developer.sun.com/berkeley_license.html
3  $Id: PasswordStrategy.java,v 1.1 2005/05/17 05:23:51 gmurray71 Exp $ */

4
5 package com.sun.j2ee.blueprints.clientstate;
6
7 /**
8  * This interface is used to indicate the strategy used to generate a
9  * password for securing client-side state.
10  *
11  * @author Inderjeet Singh
12  */

13 public interface PasswordStrategy {
14     
15     /** Generate a password that is a secret for the server. The password must
16      * survive server crashes, and must remain the same at least until the
17      * session dies. */

18     public String JavaDoc getPassword();
19 }
20
Popular Tags