org.jasig.web.util
Class DefaultSessionKeyGenerator

java.lang.Object
  extended by org.jasig.web.util.DefaultSessionKeyGenerator
All Implemented Interfaces:
SessionKeyGenerator

Deprecated. Use SecureSessionKeyGenerator instead, it uses a better random number generation approach and is likely more secure

@Deprecated
public class DefaultSessionKeyGenerator
extends Object
implements SessionKeyGenerator

Uses a combination of a random number and in incremented field to generate unique keys

Version:
$Revision$
Author:
Eric Dalquist

Field Summary
static String UNIQUE_KEY_SEQ
          Deprecated.  
 
Constructor Summary
DefaultSessionKeyGenerator()
          Deprecated.  
 
Method Summary
 String getNextSessionKey(javax.portlet.PortletSession session)
          Deprecated. Returns a random, unique session key for the user's session
 void setSeed(long seed)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNIQUE_KEY_SEQ

public static final String UNIQUE_KEY_SEQ
Deprecated. 
Constructor Detail

DefaultSessionKeyGenerator

public DefaultSessionKeyGenerator()
Deprecated. 
Method Detail

setSeed

public void setSeed(long seed)
Deprecated. 

getNextSessionKey

public String getNextSessionKey(javax.portlet.PortletSession session)
Deprecated. 
Description copied from interface: SessionKeyGenerator
Returns a random, unique session key for the user's session

Specified by:
getNextSessionKey in interface SessionKeyGenerator


Copyright © 2009 Jasig. All Rights Reserved.