|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLLoginConfigMBean
The managment bean interface for the XML based JAAS login configuration object.
Field Summary | |
---|---|
static ObjectName |
OBJECT_NAME
Default ObjectName |
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 |
Method Summary | |
---|---|
void |
addAppConfig(String appName,
AppConfigurationEntry[] entries)
Deprecated. |
void |
addApplicationPolicy(String appName,
org.jboss.security.config.ApplicationPolicy aPolicy)
Add an Application Policy given a domain name to the configuration |
String |
displayAppConfig(String appName)
Display the login configuration for the given application. |
org.jboss.security.config.ApplicationPolicy |
getApplicationPolicy(String domainName)
Get the Application Policy given the domain name |
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 |
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 |
setValidateDTD(boolean flag)
Set whether the login config xml document is validated againsts its DTD |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Field Detail |
---|
static final ObjectName OBJECT_NAME
Method Detail |
---|
URL getConfigURL()
void setConfigURL(URL configURL)
void setConfigResource(String resourceName) throws IOException
IOException
boolean getValidateDTD()
void setValidateDTD(boolean flag)
org.jboss.security.config.ApplicationPolicy getApplicationPolicy(String domainName)
Configuration getConfiguration(Configuration prevConfig)
void addApplicationPolicy(String appName, org.jboss.security.config.ApplicationPolicy aPolicy)
appName
- aPolicy
- void addAppConfig(String appName, AppConfigurationEntry[] entries)
void removeAppConfig(String appName)
String[] loadConfig(URL configURL) throws Exception
configURL
- A URL to an XML or Sun login config file.
Exception
- on failure to load the configurationvoid removeConfigs(String[] appNames)
appNames
- the names of the login configurations to remove.String displayAppConfig(String appName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |