Save This Page
Home » JBoss-5.1.0 » org » jboss » security » auth » login » [javadoc | source]
org.jboss.security.auth.login
public class: XMLLoginConfig [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.security.auth.login.XMLLoginConfig

All Implemented Interfaces:
    XMLLoginConfigMBean, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

An MBean for managing a XMLLoginConfigImpl instance.
Field Summary
 XMLLoginConfigImpl config     
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public XMLLoginConfig() 
Method from org.jboss.security.auth.login.XMLLoginConfig Summary:
addAppConfig,   addApplicationPolicy,   destroyService,   displayAppConfig,   getApplicationPolicy,   getConfigURL,   getConfiguration,   getValidateDTD,   loadConfig,   removeAppConfig,   removeConfigs,   setConfigResource,   setConfigURL,   setValidateDTD,   startService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.security.auth.login.XMLLoginConfig Detail:
 public  void addAppConfig(String appName,
    AppConfigurationEntry[] entries) 
Deprecated!
    Add an application login configuration. Any existing configuration for the given appName will be replaced.
 public  void addApplicationPolicy(String appName,
    ApplicationPolicy aPolicy) 
    Add an application policy given a security domain name
 protected  void destroyService() 
    Clear all configuration entries
 public String displayAppConfig(String appName) 
    Display the login configuration for the given application.
 public ApplicationPolicy getApplicationPolicy(String domainName) 
 public URL getConfigURL() 
    Set the URL of the XML login configuration file that should be loaded by this mbean on startup.
 public Configuration getConfiguration(Configuration prevConfig) 
    Get the XML based configuration given the Configuration it should delegate to when an application cannot be found.
 public boolean getValidateDTD() 
    Get whether the login config xml document is validated againsts its DTD
 public String[] loadConfig(URL configURL) throws Exception 
    Load the login configuration information from the given config URL.
 public  void removeAppConfig(String appName) 
    Remove an application login configuration.
 public  void removeConfigs(String[] appNames) 
 public  void setConfigResource(String resourceName) throws IOException 
    Set the resource name of the XML login configuration file that should be loaded by this mbean on startup.
 public  void setConfigURL(URL configURL) 
    Set the URL of the XML login configuration file that should be loaded by this mbean on startup.
 public  void setValidateDTD(boolean flag) 
    Set whether the login config xml document is validated againsts its DTD
 protected  void startService() throws Exception 
    Load the configuration