com.atlassian.seraph.service.rememberme
Class DefaultRememberMeTokenGenerator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRememberMeTokenGenerator
public DefaultRememberMeTokenGenerator()
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.