00001 00027 package org.objectweb.jonas.security.realm.factory; 00028 00033 public interface JResourceMemoryMBean extends JResourceMBean { 00034 00041 void addUser(String username, String password) throws Exception; 00042 00048 void addGroup(String groupname) throws Exception; 00049 00055 void addRole(String rolename) throws Exception; 00056 00062 void removeUser(String username) throws Exception; 00063 00069 void removeGroup(String groupname) throws Exception; 00070 00076 void removeRole(String rolename) throws Exception; 00077 00082 String[] listRoles(); 00083 00088 String[] listGroups(); 00089 00090 }