fix authentication by hit in userdb (wrong parameter)

pull/93/head
reger 8 years ago
parent aa9ddf3c23
commit 44a6a4e795

@ -3542,8 +3542,8 @@ public final class Switchboard extends serverSwitch {
return 3; // soft-authenticated for localhost
}
// authorization by hit in userDB (realm username:encodedpassword - handed over by DefaultServlet)
if ( this.userDB.hasAdminRight(realmValue, requestHeader.getHeaderCookies()) ) {
// authorization by hit in userDB (authtype username:encodedpassword - handed over by DefaultServlet)
if ( this.userDB.hasAdminRight(realmProp, requestHeader.getHeaderCookies()) ) {
adminAuthenticationLastAccess = System.currentTimeMillis();
return 4; //return, because 4=max
}

Loading…
Cancel
Save