/** * Create a token with default seconds of time out. * * @param tokenName the token name used in view */ public void createToken(String tokenName) { createToken(tokenName, Const.DEFAULT_SECONDS_OF_TOKEN_TIME_OUT); }
/** Create a token with default token name and with default seconds of time out. */ public void createToken() { createToken(Const.DEFAULT_TOKEN_NAME, Const.DEFAULT_SECONDS_OF_TOKEN_TIME_OUT); }