Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-09-18 08:37:43 -0400
committerEike Stepper2013-09-18 08:37:43 -0400
commit0a166de53ef098b48cf3a173de3342acfd8112ce (patch)
treef8e2872e3a8fc949236c5f52818156349c7d478f /plugins/org.eclipse.emf.cdo.server.security
parent81c63c354ef149525a864c386c6da3ae7d8ee5b0 (diff)
downloadcdo-0a166de53ef098b48cf3a173de3342acfd8112ce.tar.gz
cdo-0a166de53ef098b48cf3a173de3342acfd8112ce.tar.xz
cdo-0a166de53ef098b48cf3a173de3342acfd8112ce.zip
[417507] [Security] Bypass READ permission checks for the
CDOResourceNode.name attribute https://bugs.eclipse.org/bugs/show_bug.cgi?id=417507
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.security')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java b/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java
index 56a34600f3..39854b30a4 100644
--- a/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java
+++ b/plugins/org.eclipse.emf.cdo.server.security/src/org/eclipse/emf/cdo/server/internal/security/SecurityManager.java
@@ -447,11 +447,13 @@ public class SecurityManager extends Lifecycle implements InternalSecurityManage
CDOResource resource = transaction.createResource(realmPath);
realm = createRealm();
resource.getContents().add(realm);
+ OM.LOG.info("Security realm created in " + realmPath);
}
else
{
CDOResource resource = transaction.getResource(realmPath);
realm = (Realm)resource.getContents().get(0);
+ OM.LOG.info("Security realm loaded from " + realmPath);
}
initCommitHandlers(firstTime);
@@ -527,7 +529,6 @@ public class SecurityManager extends Lifecycle implements InternalSecurityManage
User adminUser = realm.addUser("Administrator", "0000");
adminUser.getGroups().add(adminsGroup);
- OM.LOG.info("Security realm " + realmPath + " created");
return realm;
}

Back to the top