org.gcube.accounting.security.authn
Class FileAuthenticationManager
java.lang.Object
org.gcube.accounting.security.authn.FileAuthenticationManager
- All Implemented Interfaces:
- AuthenticationManager
public class FileAuthenticationManager
- extends Object
- implements AuthenticationManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileAuthenticationManager
public FileAuthenticationManager(String file)
throws org.apache.commons.configuration.ConfigurationException
- Basic constructor
- Parameters:
file - path
- Throws:
org.apache.commons.configuration.ConfigurationException
FileAuthenticationManager
public FileAuthenticationManager(org.apache.commons.configuration.PropertiesConfiguration file)
- Basic constructor
- Parameters:
propertiesConfiguration -
authenticate
public boolean authenticate(String username,
String password)
- Specified by:
authenticate in interface AuthenticationManager
getRealm
public String getRealm()
- Specified by:
getRealm in interface AuthenticationManager
setRealm
public void setRealm(String realm)
Copyright © 2013. All Rights Reserved.