goja-web/src/main/java/goja/security/goja/SecurityKit.java
private static <T extends Model> String getLoginKey(T user, String ip, String user_agent) {
        return encrypt(String.valueOf(user.getNumber(StringPool.PK_COLUMN)) + '|'
                + user.getStr("password") + '|' + ip + '|' + ((user_agent == null) ? 0
                : user_agent.hashCode()) + '|' + System.currentTimeMillis());
    }
private static <T extends Model> String getLoginKey(T user, String ip, String user_agent) {
        return encrypt(String.valueOf(user.getNumber(StringPool.PK_COLUMN)) + '|'
                + user.getStr("password") + '|' + ip + '|' + ((user_agent == null) ? 0
                : user_agent.hashCode()) + '|' + System.currentTimeMillis());
    }
Generating system user login ID string.

@param user       The user has logged on.
@param ip         The login ip.
@param user_agent http agent.
@return User login identification string