/** * This method allows an application admin to revoke a permission from a user. * * @param userIdentity The user to revoke the permission from. * @param role The role that is being revoked from the user. * @param pg The protection group in which the permission is being revoked * @throws RemoteException * @throws CSMInternalFault * @throws AccessDeniedFault * @throws CSMTransactionFault */ public void revokePermission(String userIdentity, Role role, ProtectionGroup pg) throws RemoteException, CSMInternalFault, AccessDeniedFault, CSMTransactionFault { this.revokePermission(userIdentity, role.getId(), pg.getId()); }
/** * This method allows an application admin to revoke a permission from a group. * * @param grp The group to revoke the permission from. * @param role The role that is being revoked from the group. * @param pg The protection group in which the permission is being revoked * @throws RemoteException * @throws CSMInternalFault * @throws AccessDeniedFault * @throws CSMTransactionFault */ public void revokePermission(Group grp, Role role, ProtectionGroup pg) throws RemoteException, CSMInternalFault, AccessDeniedFault, CSMTransactionFault { this.revokePermission(grp.getId(), role.getId(), pg.getId()); }
/** * This method an allows an application admin to remove a protection group. * * @param pg The protection group to remove. * @throws RemoteException * @throws CSMInternalFault * @throws AccessDeniedFault * @throws CSMTransactionFault */ public void removeProtectionGroup(ProtectionGroup pg) throws RemoteException, CSMInternalFault, AccessDeniedFault, CSMTransactionFault { if (pg != null) { removeProtectionGroup(pg.getId()); } }