com.sun.faban.harness.engine
Class LoginConfiguration
java.lang.Object
javax.security.auth.login.Configuration
com.sun.faban.harness.engine.LoginConfiguration
public class LoginConfiguration
- extends Configuration
The Faban harness login configuration object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginConfiguration
public LoginConfiguration()
readConfig
public void readConfig(Node root,
XPath xPath)
throws XPathExpressionException
- Reads the login configuration from a DOM tree.
- Parameters:
root
- The root nodexPath
- An xpath instance
- Throws:
XPathExpressionException
- If there is an error in the xpath
getAppConfigurationEntry
public AppConfigurationEntry[] getAppConfigurationEntry(String name)
- Retrieve the AppConfigurationEntries for the specified name
from this Configuration.
- Specified by:
getAppConfigurationEntry
in class Configuration
- Parameters:
name
- the name used to index the Configuration.
- Returns:
- an array of AppConfigurationEntries for the specified name
from this Configuration, or null if there are no entries
for the specified name
refresh
public void refresh()
- Refresh and reload the Configuration.
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.
- Overrides:
refresh
in class Configuration
- Throws:
SecurityException
- if the caller does not have permission
to refresh its Configuration.