com.atlassian.seraph.service.rememberme
Class DefaultRememberMeTokenGenerator

java.lang.Object
  extended by com.atlassian.seraph.service.rememberme.DefaultRememberMeTokenGenerator
All Implemented Interfaces:
RememberMeTokenGenerator

public class DefaultRememberMeTokenGenerator
extends Object
implements RememberMeTokenGenerator

A default implementation of RememberMeTokenGenerator that should be enough for most apps


Constructor Summary
DefaultRememberMeTokenGenerator()
           
 
Method Summary
 RememberMeToken generateToken(String userName)
          The RememberMeToken returned will have the user name and random string set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRememberMeTokenGenerator

public DefaultRememberMeTokenGenerator()
Method Detail

generateToken

public RememberMeToken generateToken(String userName)
Description copied from interface: RememberMeTokenGenerator
The RememberMeToken returned will have the user name and random string set

Specified by:
generateToken in interface RememberMeTokenGenerator
Parameters:
userName - the user name to generate the token for
Returns:
a RememberMeToken filled out with a user name and random string, ready for saving in the application


Copyright © 2013 Atlassian. All Rights Reserved.