|
@@ -16,9 +16,9 @@ public class AuthorizationService {
|
|
|
|
|
|
private static final String HEADER_AUTHINFO_KEY = "auth-info";
|
|
|
|
|
|
- private static final long TIME_AHEAD_SECOND = 5;
|
|
|
+ private static final long TIME_AHEAD_SECOND = 5 * 60;
|
|
|
|
|
|
- private static final long TIME_EXPIRE_SECOND = 15;
|
|
|
+ private static final long TIME_EXPIRE_SECOND = 15 * 60;
|
|
|
|
|
|
public SignatureInfo buildSignature(long timestamp, String authorization, String method, String uri) {
|
|
|
if (!expired(timestamp)) {
|