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 .