1 23 24 package com.sun.enterprise.admin.mbeanapi; 25 26 import javax.management.MBeanException ; 27 import com.sun.enterprise.admin.config.MBeanConfigException; 28 29 public interface IAuthRealmMBean 30 { 31 public String [] getUserNames() 32 throws MBeanException , MBeanConfigException; 33 34 public String [] getGroupNames() 35 throws MBeanException , MBeanConfigException; 36 37 public String [] getUserGroupNames(String userName) 38 throws MBeanException , MBeanConfigException; 39 40 public void addUser(String userName, String password, String [] groupList) 41 throws MBeanException , MBeanConfigException; 42 43 public void removeUser(String userName) 44 throws MBeanException , MBeanConfigException; 45 46 47 public void updateUser(String userName, String password, String [] groupList) 48 throws MBeanException , MBeanConfigException; 49 50 } 51 | Popular Tags |