| 1 package org.mr.kernel.security.impl.management.jmx; 2 3 import org.mr.kernel.security.impl.management.*; 4 5 import javax.jms.JMSSecurityException ; 6 7 import org.mr.kernel.security.MantaSecurityException; 8 9 import java.util.Collection ; 10 11 18 public interface SecurityManagementJMXMBean { 19 20 37 public void createUserPrincipal(String authenticationUsername, String authenticationPassword, String newUsername, String newUserGroup, String newUserPassword, int newUserGIDNumber, int newUserUIDNumber, String newUserSurname, String newUserCommonName) throws PrincipalAlreadyExistsException, PrincipalNotFoundException, MantaSecurityException, JMSSecurityException ; 38 39 49 public void createGroupPrincipal(String authenticationUsername, String authenticationPassword, String newGroupName) throws PrincipalAlreadyExistsException, MantaSecurityException, JMSSecurityException ; 50 51 63 public void renameUserPrincipal(String authenticationUsername, String authenticationPassword, String oldUsername, String newUsername) throws PrincipalNotFoundException, PrincipalAlreadyExistsException, MantaSecurityException, JMSSecurityException ; 64 65 77 public void renameGroupPrincipal(String authenticationUsername, String authenticationPassword, String oldGroupName, String newGroupName) throws PrincipalNotFoundException, PrincipalAlreadyExistsException, MantaSecurityException, JMSSecurityException ; 78 79 90 public void setUserGroup(String authenticationUsername, String authenticationPassword, String username, String groupName) throws PrincipalNotFoundException, MantaSecurityException, JMSSecurityException ; 91 92 103 public void setUserPassword(String authenticationUsername, String authenticationPassword, String username, String password) throws PrincipalNotFoundException, MantaSecurityException, JMSSecurityException ; 104 105 118 public void createPermissionForUser(String authenticationUsername, String authenticationPassword, String permissionName, String permissionParam, String username) throws PrincipalNotFoundException, PermissionAlreadyExistsException, MantaSecurityException, JMSSecurityException ; 119 120 133 public void createPermissionForGroup(String authenticationUsername, String authenticationPassword, String permissionName, String permissionParam, String groupName) throws PrincipalNotFoundException, PermissionAlreadyExistsException, MantaSecurityException, JMSSecurityException ; 134 135 146 public Collection getPermissionsForUser(String authenticationUsername, String authenticationPassword, String username) throws PrincipalNotFoundException, MantaSecurityException, JMSSecurityException ; 147 148 159 public Collection getPermissionsForGroup(String authenticationUsername, String authenticationPassword, String groupName) throws PrincipalNotFoundException, MantaSecurityException, JMSSecurityException ; 160 161 171 public void deleteUser(String authenticationUsername, String authenticationPassword, String username) throws PrincipalNotFoundException, MantaSecurityException, JMSSecurityException ; 172 173 184 public void deleteGroup(String authenticationUsername, String authenticationPassword, String groupName) throws PrincipalNotFoundException, GroupNotEmptyException, MantaSecurityException, JMSSecurityException ; 185 186 198 public void deletePermissionForUser(String authenticationUsername, String authenticationPassword, String permissionName, String permissionParam, String username) throws PermissionNotFoundException, MantaSecurityException, JMSSecurityException ; 199 200 212 public void deletePermissionForGroup(String authenticationUsername, String authenticationPassword, String permissionName, String permissionParam, String groupName) throws PermissionNotFoundException, MantaSecurityException, JMSSecurityException ; 213 214 224 public void createWhiteListEntry(String authenticationUsername, String authenticationPassword, String whiteListEntry) throws WhiteListEntryAlreadyExistsException, MantaSecurityException, JMSSecurityException ; 225 226 236 public void deleteWhiteListEntry(String authenticationUsername, String authenticationPassword, String whiteListEntry) throws WhiteListEntryNotFoundException, MantaSecurityException, JMSSecurityException ; 237 238 247 public Collection getUsers(String authenticationUsername, String authenticationPassword) throws MantaSecurityException, JMSSecurityException ; 248 249 258 public Collection getGroups(String authenticationUsername, String authenticationPassword) throws MantaSecurityException, JMSSecurityException ; 259 260 269 public Collection getWhiteList(String authenticationUsername, String authenticationPassword) throws MantaSecurityException, JMSSecurityException ; 270 } 271 | Popular Tags |