com.maverick.sshd.auth.jaas
Class FileAuthenticationProvider
java.lang.Object
com.maverick.sshd.PasswordAuthenticationProvider
com.maverick.sshd.auth.jaas.AbstractJAASAuthenticationProvider
com.maverick.sshd.auth.jaas.FileAuthenticationProvider
- All Implemented Interfaces:
- AuthenticationProvider
public class FileAuthenticationProvider
- extends AbstractJAASAuthenticationProvider
JAAS provider that uses a plain text file
|
Field Summary |
protected org.apache.commons.vfs2.FileObject |
file
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
protected org.apache.commons.vfs2.FileObject file
FileAuthenticationProvider
public FileAuthenticationProvider()
throws IOException
- Throws:
IOException
FileAuthenticationProvider
public FileAuthenticationProvider(File file)
throws IOException
- Throws:
IOException
FileAuthenticationProvider
public FileAuthenticationProvider(org.apache.commons.vfs2.FileObject file)
setFile
public void setFile(File file)
throws IOException
- Throws:
IOException
setFile
public void setFile(org.apache.commons.vfs2.FileObject file)
getJAASConfiguration
public Configuration getJAASConfiguration()
- Specified by:
getJAASConfiguration in class AbstractJAASAuthenticationProvider
Copyright © 2012. All Rights Reserved.