public MD5Token(String authvalue, String hash_type) { this.hash_type = hash_type; this.auth_value = hash(authvalue); }
public void hashAndSetAuthValue(String authvalue) { this.auth_value = hash(authvalue); }
public MD5Token(String authvalue) { this.auth_value = hash(authvalue); }
public MD5Token(String authvalue, String hash_type) { this.hash_type = hash_type; this.auth_value = hash(authvalue); }
public MD5Token(String token){ this.token = hash(token); }
public MD5Token(String token, String hash_type){ this.token = hash(token); this.hash_type = hash_type; }
public void hashAndSetAuthValue(String authvalue) { this.auth_value = hash(authvalue); }
public MD5Token(String authvalue) { this.auth_value = hash(authvalue); }
public void setValue(Properties properties){ this.token = hash((String)properties.get(MD5Token.TOKEN_ATTR)); properties.remove(MD5Token.TOKEN_ATTR); if(properties.containsKey(MD5Token.TOKEN_TYPE)){ hash_type = (String)properties.get(MD5Token.TOKEN_TYPE); properties.remove(MD5Token.TOKEN_TYPE); } }