|
||||||||||
PREV CLASS (src) 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
An concrete implementation of the javax.security.auth.login.Configuration
class that parses an xml configuration of the form:
Configuration
Field Summary | |
protected java.net.URL |
loginConfigURL
The URL to the XML or Sun login configuration |
protected javax.security.auth.login.Configuration |
parentConfig
The inherited configuration we delegate to |
Constructor Summary | |
XMLLoginConfigImpl()
|
Method Summary | |
void |
addAppConfig(java.lang.String appName,
javax.security.auth.login.AppConfigurationEntry[] entries)
Add an application configuration |
void |
clear()
|
javax.security.auth.login.AppConfigurationEntry[] |
getAppConfigurationEntry(java.lang.String appName)
|
java.net.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 java.lang.String[] |
loadConfig(java.net.URL config)
|
void |
refresh()
|
void |
removeAppConfig(java.lang.String appName)
|
void |
setConfigResource(java.lang.String resourceName)
|
void |
setConfigURL(java.net.URL loginConfigURL)
Set the URL of the XML login configuration file that should be loaded by this mbean on startup. |
void |
setParentConfig(javax.security.auth.login.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 java.net.URL loginConfigURL
protected javax.security.auth.login.Configuration parentConfig
Constructor Detail |
public XMLLoginConfigImpl()
Method Detail |
public void refresh()
public javax.security.auth.login.AppConfigurationEntry[] getAppConfigurationEntry(java.lang.String appName)
public java.net.URL getConfigURL()
public void setConfigURL(java.net.URL loginConfigURL)
public void setConfigResource(java.lang.String resourceName) throws java.io.IOException
java.io.IOException
public void setParentConfig(javax.security.auth.login.Configuration parentConfig)
public boolean getValidateDTD()
public void setValidateDTD(boolean flag)
public void addAppConfig(java.lang.String appName, javax.security.auth.login.AppConfigurationEntry[] entries)
public void removeAppConfig(java.lang.String appName)
public void clear()
public void loadConfig()
protected java.lang.String[] loadConfig(java.net.URL config) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |