예제 #1
0
 /** {@inheritDoc} */
 public Role getRole(long id) throws EntityDoesNotExistException {
   session.verify();
   return coral.getSecurity().getRole(id);
 }
예제 #2
0
 /** {@inheritDoc} */
 public Subject getSubject(String name) throws EntityDoesNotExistException {
   session.verify();
   return coral.getSecurity().getSubject(name);
 }
예제 #3
0
 /** {@inheritDoc} */
 public void deleteSubject(Subject subject) throws EntityInUseException {
   session.verify();
   coral.getSecurity().deleteSubject(subject);
 }
예제 #4
0
 /** {@inheritDoc} */
 public EntityFactory<Role> getRoleFactory() {
   session.verify();
   return coral.getSecurity().getRoleFactory();
 }
예제 #5
0
 /** {@inheritDoc} */
 public Subject[] getSubject() {
   session.verify();
   return coral.getSecurity().getSubject();
 }
예제 #6
0
 /** {@inheritDoc} */
 public void deletePermission(ResourceClass resourceClass, Permission permission)
     throws IllegalArgumentException {
   session.verify();
   coral.getSecurity().deletePermission(resourceClass, permission);
 }
예제 #7
0
 /** {@inheritDoc} */
 public void revoke(Resource resource, Role role, Permission permission)
     throws IllegalArgumentException, SecurityException {
   session.verify();
   coral.getSecurity().revoke(resource, role, permission);
 }
예제 #8
0
 /** {@inheritDoc} */
 public void addSubRole(Role superRole, Role subRole) throws CircularDependencyException {
   session.verify();
   coral.getSecurity().addSubRole(superRole, subRole);
 }
예제 #9
0
 /** {@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();
 }