/** {@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); }
/** {@inheritDoc} */ public void deleteRole(Role role) throws EntityInUseException { session.verify(); coral.getSecurity().deleteRole(role); }
/** {@inheritDoc} */ public void setName(Role role, String name) { session.verify(); coral.getSecurity().setName(role, name); }
/** {@inheritDoc} */ public Role createRole(String name) { session.verify(); return coral.getSecurity().createRole(name); }
/** {@inheritDoc} */ public Role getUniqueRole(String name) throws IllegalStateException { session.verify(); return coral.getSecurity().getUniqueRole(name); }
/** {@inheritDoc} */ public Role[] getRole(String name) { session.verify(); return coral.getSecurity().getRole(name); }
/** {@inheritDoc} */ public void setName(Permission permission, String name) { session.verify(); coral.getSecurity().setName(permission, name); }
/** {@inheritDoc} */ public void grant(Role role, Subject subject, boolean grantingAllowed) throws SecurityException { session.verify(); coral.getSecurity().grant(role, subject, grantingAllowed); }
/** {@inheritDoc} */ public void addPermission(ResourceClass resourceClass, Permission permission) { session.verify(); coral.getSecurity().addPermission(resourceClass, permission); }
/** {@inheritDoc} */ public void revoke(Role role, Subject subject) throws IllegalArgumentException, SecurityException { session.verify(); coral.getSecurity().revoke(role, subject); }
/** {@inheritDoc} */ public void grant(Resource resource, Role role, Permission permission, boolean inherited) throws SecurityException { session.verify(); coral.getSecurity().grant(resource, role, permission, inherited); }
/** {@inheritDoc} */ public Permission[] getPermission() { session.verify(); return coral.getSecurity().getPermission(); }
/** {@inheritDoc} */ public EntityFactory<Subject> getSubjectFactory() { session.verify(); return coral.getSecurity().getSubjectFactory(); }
/** {@inheritDoc} */ public Permission getPermission(long id) throws EntityDoesNotExistException { session.verify(); return coral.getSecurity().getPermission(id); }
/** {@inheritDoc} */ public EntityFactory<Permission> getPermissionFactory() { session.verify(); return coral.getSecurity().getPermissionFactory(); }
/** {@inheritDoc} */ public Permission getUniquePermission(String name) throws IllegalStateException { session.verify(); return coral.getSecurity().getUniquePermission(name); }
/** {@inheritDoc} */ public Subject getSubject(long id) throws EntityDoesNotExistException { session.verify(); return coral.getSecurity().getSubject(id); }
/** {@inheritDoc} */ public Permission createPermission(String name) { session.verify(); return coral.getSecurity().createPermission(name); }
/** {@inheritDoc} */ public Subject createSubject(String name) throws EntityExistsException { session.verify(); return coral.getSecurity().createSubject(name); }
/** {@inheritDoc} */ public void deletePermission(Permission permission) throws EntityInUseException { session.verify(); coral.getSecurity().deletePermission(permission); }
/** {@inheritDoc} */ public void setName(Subject subject, String name) throws EntityExistsException { session.verify(); coral.getSecurity().setName(subject, name); }
/** {@inheritDoc} */ public Role[] getRole() { session.verify(); return coral.getSecurity().getRole(); }