com.maverick.sshd.auth.jaas
Class FileAuthenticationProvider

java.lang.Object
  extended by com.maverick.sshd.PasswordAuthenticationProvider
      extended by com.maverick.sshd.auth.jaas.AbstractJAASAuthenticationProvider
          extended by 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
           
 
Fields inherited from class com.maverick.sshd.auth.jaas.AbstractJAASAuthenticationProvider
connections, LOGIN_CONTEXT, logins
 
Constructor Summary
FileAuthenticationProvider()
           
FileAuthenticationProvider(File file)
           
FileAuthenticationProvider(org.apache.commons.vfs2.FileObject file)
           
 
Method Summary
 Configuration getJAASConfiguration()
           
 void setFile(File file)
           
 void setFile(org.apache.commons.vfs2.FileObject file)
           
 
Methods inherited from class com.maverick.sshd.auth.jaas.AbstractJAASAuthenticationProvider
changePassword, getConnections, getLoginContext, verifyPassword
 
Methods inherited from class com.maverick.sshd.PasswordAuthenticationProvider
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected org.apache.commons.vfs2.FileObject file
Constructor Detail

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)
Method Detail

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.