git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@751289
13f79535-47bb-0310-9956-
ffa450edef68
memoryUserDatabase.renameNew=Cannot rename new file to {0}
memoryUserDatabase.writeException=IOException writing to {0}
memoryUserDatabase.notPersistable=User database is not persistable - no write permissions on directory
+memoryUserDatabase.readOnly=User database has been configured to be read only. Changes cannot be saved
/**
* A flag, indicating if the user database is read only.
*/
- protected boolean readonly = false;
+ protected boolean readonly = true;
/**
* The set of {@link Role}s defined in this database, keyed by
public void save() throws Exception {
if (getReadonly()) {
+ log.error(sm.getString("memoryUserDatabase.readOnly"));
return;
}