{
AuthorizationManager authzManager = this.getAuthorizationManager();
Privilege privilege = new Privilege();
privilege.addProperty("foo1", "bar2");
privilege.addProperty("bar1", "foo2");
privilege.setId("new-priv");
privilege.setName("new-name");
privilege.setDescription("new-description");
privilege.setReadOnly(true);
privilege.setType("TEST");