|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The managment bean interface for the XML based JAAS login configuration object.
Field Summary |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
void |
addAppConfig(java.lang.String appName,
javax.security.auth.login.AppConfigurationEntry[] entries)
Add an application login configuration. |
java.lang.String |
displayAppConfig(java.lang.String appName)
Display the login configuration for the given application. |
javax.security.auth.login.Configuration |
getConfiguration(javax.security.auth.login.Configuration prevConfig)
Get the XML based configuration given the Configuration it should delegate to when an application cannot be found. |
java.net.URL |
getConfigURL()
Set the URL of the XML login configuration file that should be loaded by this mbean on startup. |
boolean |
getPassSecurityDomainName()
|
boolean |
getValidateDTD()
Get whether the login config xml document is validated againsts its DTD |
java.lang.String[] |
loadConfig(java.net.URL configURL)
Load the login configuration information from the given config URL. |
void |
removeAppConfig(java.lang.String appName)
Remove an application login configuration. |
void |
removeConfigs(java.lang.String[] appNames)
Remove the given login configurations. |
void |
setConfigResource(java.lang.String resourceName)
Set the resource name of the XML login configuration file that should be loaded by this mbean on startup. |
void |
setConfigURL(java.net.URL configURL)
Set the URL of the XML login configuration file that should be loaded by this mbean on startup. |
void |
setPassSecurityDomainName(boolean flag)
|
void |
setValidateDTD(boolean flag)
Set whether the login config xml document is validated againsts its DTD |
Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Method Detail |
public java.net.URL getConfigURL()
public void setConfigURL(java.net.URL configURL)
public void setConfigResource(java.lang.String resourceName) throws java.io.IOException
java.io.IOException
public boolean getValidateDTD()
public void setValidateDTD(boolean flag)
public boolean getPassSecurityDomainName()
public void setPassSecurityDomainName(boolean flag)
public javax.security.auth.login.Configuration getConfiguration(javax.security.auth.login.Configuration prevConfig)
public void addAppConfig(java.lang.String appName, javax.security.auth.login.AppConfigurationEntry[] entries)
public void removeAppConfig(java.lang.String appName)
public java.lang.String[] loadConfig(java.net.URL configURL) throws java.lang.Exception
configURL
- A URL to an XML or Sun login config file.
java.lang.Exception
- on failure to load the configurationpublic void removeConfigs(java.lang.String[] appNames)
appNames
- the names of the login configurations to remove.public java.lang.String displayAppConfig(java.lang.String appName)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |