org.chorem.bow
Class BowUtils
java.lang.Object
org.chorem.bow.BowUtils
public class BowUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generateToken
public static String generateToken()
redirectTo
public static String redirectTo(String searchLine,
String fullTextLine)
checkToken
public static User checkToken(BowSession session,
String token)
checkPermanentToken
protected static boolean checkPermanentToken(BowSession session,
String token)
- check if token exist, if true, put User associated with it, in BowSession
- Parameters:
token - String which contains the MD5 encoding token
- Returns:
- null the token doesn't exist
checkTemporaryToken
protected static boolean checkTemporaryToken(BowSession session,
String token)
- Check token with temporary token
- Parameters:
token - String which contains the MD5 encoding token
- Returns:
- null the token doesn't exist
Copyright © 2010-2011 CodeLutin. All Rights Reserved.