/** {@inheritDoc} */
 public Role getRole(long id) throws EntityDoesNotExistException {
   session.verify();
   return coral.getSecurity().getRole(id);
 }
 /** {@inheritDoc} */
 public Subject getSubject(String name) throws EntityDoesNotExistException {
   session.verify();
   return coral.getSecurity().getSubject(name);
 }
 /** {@inheritDoc} */
 public void deleteSubject(Subject subject) throws EntityInUseException {
   session.verify();
   coral.getSecurity().deleteSubject(subject);
 }
 /** {@inheritDoc} */
 public EntityFactory<Role> getRoleFactory() {
   session.verify();
   return coral.getSecurity().getRoleFactory();
 }
 /** {@inheritDoc} */
 public Subject[] getSubject() {
   session.verify();
   return coral.getSecurity().getSubject();
 }
 /** {@inheritDoc} */
 public void deletePermission(ResourceClass resourceClass, Permission permission)
     throws IllegalArgumentException {
   session.verify();
   coral.getSecurity().deletePermission(resourceClass, permission);
 }
 /** {@inheritDoc} */
 public void revoke(Resource resource, Role role, Permission permission)
     throws IllegalArgumentException, SecurityException {
   session.verify();
   coral.getSecurity().revoke(resource, role, permission);
 }
 /** {@inheritDoc} */
 public void addSubRole(Role superRole, Role subRole) throws CircularDependencyException {
   session.verify();
   coral.getSecurity().addSubRole(superRole, subRole);
 }
 /** {@inheritDoc} */
 public void deleteSubRole(Role superRole, Role subRole) throws IllegalArgumentException {
   session.verify();
   coral.getSecurity().deleteSubRole(superRole, subRole);
 }
示例#10
0
 /** {@inheritDoc} */
 public void deleteRole(Role role) throws EntityInUseException {
   session.verify();
   coral.getSecurity().deleteRole(role);
 }
示例#11
0
 /** {@inheritDoc} */
 public void setName(Role role, String name) {
   session.verify();
   coral.getSecurity().setName(role, name);
 }
示例#12
0
 /** {@inheritDoc} */
 public Role createRole(String name) {
   session.verify();
   return coral.getSecurity().createRole(name);
 }
示例#13
0
 /** {@inheritDoc} */
 public Role getUniqueRole(String name) throws IllegalStateException {
   session.verify();
   return coral.getSecurity().getUniqueRole(name);
 }
示例#14
0
 /** {@inheritDoc} */
 public Role[] getRole(String name) {
   session.verify();
   return coral.getSecurity().getRole(name);
 }
示例#15
0
 /** {@inheritDoc} */
 public void setName(Permission permission, String name) {
   session.verify();
   coral.getSecurity().setName(permission, name);
 }
示例#16
0
 /** {@inheritDoc} */
 public void grant(Role role, Subject subject, boolean grantingAllowed) throws SecurityException {
   session.verify();
   coral.getSecurity().grant(role, subject, grantingAllowed);
 }
示例#17
0
 /** {@inheritDoc} */
 public void addPermission(ResourceClass resourceClass, Permission permission) {
   session.verify();
   coral.getSecurity().addPermission(resourceClass, permission);
 }
示例#18
0
 /** {@inheritDoc} */
 public void revoke(Role role, Subject subject)
     throws IllegalArgumentException, SecurityException {
   session.verify();
   coral.getSecurity().revoke(role, subject);
 }
示例#19
0
 /** {@inheritDoc} */
 public void grant(Resource resource, Role role, Permission permission, boolean inherited)
     throws SecurityException {
   session.verify();
   coral.getSecurity().grant(resource, role, permission, inherited);
 }
示例#20
0
 /** {@inheritDoc} */
 public Permission[] getPermission() {
   session.verify();
   return coral.getSecurity().getPermission();
 }
示例#21
0
 /** {@inheritDoc} */
 public EntityFactory<Subject> getSubjectFactory() {
   session.verify();
   return coral.getSecurity().getSubjectFactory();
 }
示例#22
0
 /** {@inheritDoc} */
 public Permission getPermission(long id) throws EntityDoesNotExistException {
   session.verify();
   return coral.getSecurity().getPermission(id);
 }
示例#23
0
 /** {@inheritDoc} */
 public EntityFactory<Permission> getPermissionFactory() {
   session.verify();
   return coral.getSecurity().getPermissionFactory();
 }
示例#24
0
 /** {@inheritDoc} */
 public Permission getUniquePermission(String name) throws IllegalStateException {
   session.verify();
   return coral.getSecurity().getUniquePermission(name);
 }
示例#25
0
 /** {@inheritDoc} */
 public Subject getSubject(long id) throws EntityDoesNotExistException {
   session.verify();
   return coral.getSecurity().getSubject(id);
 }
示例#26
0
 /** {@inheritDoc} */
 public Permission createPermission(String name) {
   session.verify();
   return coral.getSecurity().createPermission(name);
 }
示例#27
0
 /** {@inheritDoc} */
 public Subject createSubject(String name) throws EntityExistsException {
   session.verify();
   return coral.getSecurity().createSubject(name);
 }
示例#28
0
 /** {@inheritDoc} */
 public void deletePermission(Permission permission) throws EntityInUseException {
   session.verify();
   coral.getSecurity().deletePermission(permission);
 }
示例#29
0
 /** {@inheritDoc} */
 public void setName(Subject subject, String name) throws EntityExistsException {
   session.verify();
   coral.getSecurity().setName(subject, name);
 }
示例#30
0
 /** {@inheritDoc} */
 public Role[] getRole() {
   session.verify();
   return coral.getSecurity().getRole();
 }