* autoupdate completely disabled, display hint
* restart-button in interface works!
* moved all build-Variables to yacyBuildProperties
* fixed some warnings
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6195 6c8d7289-2bf4-0310-a012-ef5d649a1542
finalbooleanauth=((String)header.get(httpHeader.CONNECTION_PROP_CLIENTIP,"")).equals("localhost")||sb.verifyAuthentication(header,true);// handle access rights
finalbooleanauth=(header.get(httpHeader.CONNECTION_PROP_CLIENTIP,"")).equals("localhost")||sb.verifyAuthentication(header,true);// handle access rights
// security check against too long authorization strings
// security check against too long authorization strings
if(authorization.length()>256)return0;
if(authorization.length()>256)return0;
@ -1964,7 +1964,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch<IndexingStack.
if(accessFromLocalhost&&(adminAccountBase64MD5.equals(authorization)))return3;// soft-authenticated for localhost
if(accessFromLocalhost&&(adminAccountBase64MD5.equals(authorization)))return3;// soft-authenticated for localhost
// authorization by hit in userDB
// authorization by hit in userDB
if(userDB.hasAdminRight((String)requestHeader.get(httpRequestHeader.AUTHORIZATION,"xxxxxx"),requestHeader.getHeaderCookies()))return4;//return, because 4=max
if(userDB.hasAdminRight(requestHeader.get(httpRequestHeader.AUTHORIZATION,"xxxxxx"),requestHeader.getHeaderCookies()))return4;//return, because 4=max
// authorization with admin keyword in configuration
// authorization with admin keyword in configuration