|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.security.auth.login.Configuration
org.jboss.security.auth.login.XMLLoginConfigImpl
public class XMLLoginConfigImpl
An concrete implementation of the javax.security.auth.login.Configuration
class that parses an xml configuration of the form:
Configuration
Field Summary | |
---|---|
protected URL |
loginConfigURL
The URL to the XML or Sun login configuration |
protected Configuration |
parentConfig
The inherited configuration we delegate to |
Constructor Summary | |
---|---|
XMLLoginConfigImpl()
|
Method Summary | |
---|---|
void |
addAppConfig(String appName,
AppConfigurationEntry[] entries)
Add an application configuration |
void |
clear()
|
AppConfigurationEntry[] |
getAppConfigurationEntry(String appName)
|
URL |
getConfigURL()
Set the URL of the XML login configuration file that should be loaded by this mbean on startup. |
boolean |
getValidateDTD()
Get whether the login config xml document is validated againsts its DTD |
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)
|
void |
refresh()
|
void |
removeAppConfig(String appName)
|
void |
setConfigResource(String resourceName)
|
void |
setConfigURL(URL loginConfigURL)
Set the URL of the XML login configuration file that should be loaded by this mbean on startup. |
void |
setParentConfig(Configuration parentConfig)
|
void |
setValidateDTD(boolean flag)
Set whether the login config xml document is validated againsts its DTD |
Methods inherited from class javax.security.auth.login.Configuration |
---|
getConfiguration, setConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected URL loginConfigURL
protected Configuration parentConfig
Constructor Detail |
---|
public XMLLoginConfigImpl()
Method Detail |
---|
public void refresh()
refresh
in class Configuration
public AppConfigurationEntry[] getAppConfigurationEntry(String appName)
getAppConfigurationEntry
in class Configuration
public URL getConfigURL()
public void setConfigURL(URL loginConfigURL)
public void setConfigResource(String resourceName) throws IOException
IOException
public void setParentConfig(Configuration parentConfig)
public boolean getValidateDTD()
public void setValidateDTD(boolean flag)
public void addAppConfig(String appName, AppConfigurationEntry[] entries)
public void removeAppConfig(String appName)
public void clear()
public void loadConfig()
protected String[] loadConfig(URL config) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |