- Timestamp:
- 02/25/09 11:49:01 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tools/routingservice/trunk/src/jp/co/orkney/restlet/security/MD5SecurityHelper.java
r263 r265 19 19 20 20 MessageDigest algorithm = MessageDigest.getInstance("MD5"); 21 22 log.write("clientId = " + clientId + ", apiKey = "+apiKey + ", secretKey = " +secretKey, 2); 21 23 24 log.write(signature +" == " + getHash(clientId, algorithm), 2); 25 log.write(apiKey +" == " + getHash(clientId+secretKey, algorithm), 2); 26 22 27 verifies = signature.equals(getHash(clientId, algorithm)); 23 28 isValid = apiKey.equals(getHash(clientId+secretKey, algorithm));
