removed misleading http accessGranted message (this is only for

debugging)
pull/1/head
Michael Peter Christen 12 years ago
parent 2fd7bbb450
commit 291912ee52

@ -337,7 +337,7 @@ public final class HTTPDFileHandler {
if (!accessGranted) {
final boolean accessFromLocalhost = Domains.isLocalhost(clientIP) && (refererHost == null || refererHost.isEmpty() || Domains.isLocalhost(refererHost));
accessGranted = accessFromLocalhost && realmValue != null && realmProp.length() > 6 && (adminAccountBase64MD5.equals(realmValue));
if (!accessGranted) Log.logInfo("HTTPDFileHandler", "access blocked, clientIP=" + clientIP);
//if (!accessGranted) Log.logInfo("HTTPDFileHandler", "access blocked, clientIP=" + clientIP + ", path=" + path);
}
// -5- a password is configured and access comes with matching http-authentify

Loading…
Cancel
Save