Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » security » auth » login » [javadoc | source]
org.jboss.security.auth.login
public class: XMLLoginConfigImpl [javadoc | source]
java.lang.Object
   javax.security.auth.login.Configuration
      org.jboss.security.auth.login.XMLLoginConfigImpl
An concrete implementation of the javax.security.auth.login.Configuration class that parses an xml configuration of the form: starksm
Field Summary
protected  Map appConfigs    A mapping of application name to AppConfigurationEntry[] 
protected  URL loginConfigURL    The URL to the XML or Sun login configuration 
protected  Configuration parentConfig    The inherited configuration we delegate to 
Method from org.jboss.security.auth.login.XMLLoginConfigImpl Summary:
addAppConfig,   clear,   getAppConfigurationEntry,   getConfigURL,   getValidateDTD,   loadConfig,   loadConfig,   refresh,   removeAppConfig,   setConfigResource,   setConfigURL,   setParentConfig,   setValidateDTD
Methods from javax.security.auth.login.Configuration:
getAppConfigurationEntry,   getConfiguration,   getInstance,   getInstance,   getInstance,   getParameters,   getProvider,   getType,   refresh,   setConfiguration
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.security.auth.login.XMLLoginConfigImpl Detail:
 public  void addAppConfig(String appName,
    AppConfigurationEntry[] entries) 
    Add an application configuration
 public  void clear() 
 public AppConfigurationEntry[] getAppConfigurationEntry(String appName) 
 public URL getConfigURL() 
    Set the URL of the XML login configuration file that should be loaded by this mbean on startup.
 public boolean getValidateDTD() 
    Get whether the login config xml document is validated againsts its DTD
 public  void loadConfig() 
    Called to try to load the config from the java.security.auth.login.config property value when there is no loginConfigURL.
 protected String[] loadConfig(URL config) throws Exception 
 public  void refresh() 
 public  void removeAppConfig(String appName) 
 public  void setConfigResource(String resourceName) throws IOException 
 public  void setConfigURL(URL loginConfigURL) 
    Set the URL of the XML login configuration file that should be loaded by this mbean on startup.
 public  void setParentConfig(Configuration parentConfig) 
 public  void setValidateDTD(boolean flag) 
    Set whether the login config xml document is validated againsts its DTD