|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.security.auth.login.XMLLoginConfig
public class XMLLoginConfig
An MBean for managing a XMLLoginConfigImpl instance.
| Field Summary |
|---|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
XMLLoginConfig()
|
|
| Method Summary | |
|---|---|
void |
addAppConfig(String appName,
AppConfigurationEntry[] entries)
Add an application login configuration. |
protected void |
destroyService()
Clear all configuration entries |
String |
displayAppConfig(String appName)
Display the login configuration for the given application. |
Configuration |
getConfiguration(Configuration prevConfig)
Get the XML based configuration given the Configuration it should delegate to when an application cannot be found. |
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 |
String[] |
loadConfig(URL configURL)
Load the login configuration information from the given config URL. |
void |
removeAppConfig(String appName)
Remove an application login configuration. |
void |
removeConfigs(String[] appNames)
Remove the given login configurations. |
void |
setConfigResource(String resourceName)
Set the resource name of the XML login configuration file that should be loaded by this mbean on startup. |
void |
setConfigURL(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 |
protected void |
startService()
Load the configuration |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public XMLLoginConfig()
| Method Detail |
|---|
public URL getConfigURL()
getConfigURL in interface XMLLoginConfigMBeanpublic void setConfigURL(URL configURL)
setConfigURL in interface XMLLoginConfigMBean
public void setConfigResource(String resourceName)
throws IOException
setConfigResource in interface XMLLoginConfigMBeanIOExceptionpublic boolean getValidateDTD()
getValidateDTD in interface XMLLoginConfigMBeanpublic void setValidateDTD(boolean flag)
setValidateDTD in interface XMLLoginConfigMBeanpublic boolean getPassSecurityDomainName()
getPassSecurityDomainName in interface XMLLoginConfigMBeanpublic void setPassSecurityDomainName(boolean flag)
setPassSecurityDomainName in interface XMLLoginConfigMBean
public void addAppConfig(String appName,
AppConfigurationEntry[] entries)
addAppConfig in interface XMLLoginConfigMBeanpublic void removeAppConfig(String appName)
removeAppConfig in interface XMLLoginConfigMBeanpublic Configuration getConfiguration(Configuration prevConfig)
getConfiguration in interface XMLLoginConfigMBean
public String[] loadConfig(URL configURL)
throws Exception
loadConfig in interface XMLLoginConfigMBeanconfigURL - A URL to an XML or Sun login config file.
Exception - on failure to load the configurationpublic void removeConfigs(String[] appNames)
XMLLoginConfigMBean
removeConfigs in interface XMLLoginConfigMBeanappNames - the names of the login configurations to remove.public String displayAppConfig(String appName)
displayAppConfig in interface XMLLoginConfigMBean
protected void startService()
throws Exception
startService in class org.jboss.system.ServiceMBeanSupportExceptionprotected void destroyService()
destroyService in class org.jboss.system.ServiceMBeanSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||