com.maverick.sshd.auth.jaas
Class FileLoginModule
java.lang.Object
com.maverick.sshd.auth.jaas.FileLoginModule
- All Implemented Interfaces:
- LoginModule
public class FileLoginModule
- extends Object
- implements LoginModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_USER_FILE
public static String KEY_USER_FILE
- Option key for the user file. If this is not supplied, it defaults to
conf/users.dat.
FileLoginModule
public FileLoginModule()
abort
public boolean abort()
throws LoginException
- Specified by:
abort in interface LoginModule
- Throws:
LoginException
commit
public boolean commit()
throws LoginException
- Specified by:
commit in interface LoginModule
- Throws:
LoginException
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
- Specified by:
initialize in interface LoginModule
login
public boolean login()
throws LoginException
- Specified by:
login in interface LoginModule
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout in interface LoginModule
- Throws:
LoginException
configureCallbacks
public Callback[] configureCallbacks()
Copyright © 2012. All Rights Reserved.