This class monitors a property file of the format mentioned below and notifies registered listeners of the changes to the the given file.
username: password [,rolename ...]
Passwords may be clear text, obfuscated or checksummed. The class com.eclipse.Util.Password should be used to generate obfuscated passwords or password
If DIGEST Authentication is used, the password must be in a recoverable format, either plain text or OBF:.
returns the resource associated with the configured properties file, creating it if necessary
sets the refresh interval (in seconds)
refresh interval in seconds for how often the properties file should be checked for changes
if (username != null && username.length() > 0 && credentials != null && credentials.length() > 0)
if (roles != null && roles.length() > 0)
roleArray = roles.split(",");
Depending on the value of the refresh interval, this method will either start up a scanner thread that will monitor the properties file for changes after
it has initially loaded it. Otherwise the users will be loaded and there will be no active monitoring thread so changes will not be detected.
if (filenames.size() == 1)
Notifies the registered listeners of potential updates to a user
notifies the registered listeners that a user has been removed.
registers a listener to be notified of the contents of the property file