public class LoginConfiguration extends Configuration
Configuration.Parameters
Constructor and Description |
---|
LoginConfiguration() |
Modifier and Type | Method and Description |
---|---|
AppConfigurationEntry[] |
getAppConfigurationEntry(String name)
Retrieve the AppConfigurationEntries for the specified name
from this Configuration.
|
void |
readConfig(Node root,
XPath xPath)
Reads the login configuration from a DOM tree.
|
void |
refresh()
Refresh and reload the Configuration.
|
getConfiguration, getInstance, getInstance, getInstance, getParameters, getProvider, getType, setConfiguration
public void readConfig(Node root, XPath xPath) throws XPathExpressionException
root
- The root nodexPath
- An xpath instanceXPathExpressionException
- If there is an error in the xpathpublic AppConfigurationEntry[] getAppConfigurationEntry(String name)
getAppConfigurationEntry
in class Configuration
name
- the name used to index the Configuration.public void refresh()
This method causes this Configuration object to refresh/reload its
contents in an implementation-dependent manner.
For example, if this Configuration object stores its entries in a file,
calling refresh
may cause the file to be re-read.
refresh
in class Configuration
SecurityException
- if the caller does not have permission
to refresh its Configuration.