1 7 package org.jboss.security.auth.login; 8 9 import java.io.IOException ; 10 import java.net.URL ; 11 import javax.security.auth.login.AppConfigurationEntry ; 12 import javax.security.auth.login.Configuration ; 13 14 import org.jboss.system.ServiceMBean; 15 16 22 public interface XMLLoginConfigMBean extends ServiceMBean 23 { 24 27 public URL getConfigURL(); 28 31 public void setConfigURL(URL configURL); 32 33 36 public void setConfigResource(String resourceName) throws IOException ; 37 38 40 public boolean getValidateDTD(); 41 43 public void setValidateDTD(boolean flag); 44 45 public boolean getPassSecurityDomainName(); 46 public void setPassSecurityDomainName(boolean flag); 47 48 51 public Configuration getConfiguration(Configuration prevConfig); 52 53 56 public void addAppConfig(String appName, AppConfigurationEntry [] entries); 57 59 public void removeAppConfig(String appName); 60 61 66 public String [] loadConfig(URL configURL) throws Exception ; 67 72 public void removeConfigs(String [] appNames); 73 74 76 public String displayAppConfig(String appName); 77 } 78 79 | Popular Tags |