public class TextFileAuthorizationCallback extends AbstractAuthorizationCallback implements Configurable
| Constructor and Description |
|---|
TextFileAuthorizationCallback()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.commons.configuration.Configuration config)
Configures the callback.
|
void |
configure(File file)
Configures the callback from the text file.
|
void |
configure(String file)
Configures the callback from the text file.
|
getName, getPassword, setName, setPasswordpublic TextFileAuthorizationCallback()
public void configure(org.apache.commons.configuration.Configuration config)
throws org.apache.commons.configuration.ConfigurationException
configure in interface Configurableconfig - - configuration objectorg.apache.commons.configuration.ConfigurationException - - when configuration failspublic void configure(String file) throws org.apache.commons.configuration.ConfigurationException
file - filenameorg.apache.commons.configuration.ConfigurationExceptionpublic void configure(File file) throws org.apache.commons.configuration.ConfigurationException
file - fileorg.apache.commons.configuration.ConfigurationExceptionCopyright © 2012. All Rights Reserved.