类 SimplePasswordAuthenticator
java.lang.Object
com.ksptooi.psm.shell.SimplePasswordAuthenticator
- 所有已实现的接口:
org.apache.sshd.server.auth.password.PasswordAuthenticator
public class SimplePasswordAuthenticator
extends Object
implements org.apache.sshd.server.auth.password.PasswordAuthenticator
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanauthenticate(String username, String inPassPt, org.apache.sshd.server.session.ServerSession session) booleanhandleClientPasswordChangeRequest(org.apache.sshd.server.session.ServerSession session, String username, String oldPassword, String newPassword)
-
构造器详细资料
-
SimplePasswordAuthenticator
public SimplePasswordAuthenticator()
-
-
方法详细资料
-
authenticate
public boolean authenticate(String username, String inPassPt, org.apache.sshd.server.session.ServerSession session) throws org.apache.sshd.server.auth.password.PasswordChangeRequiredException, org.apache.sshd.server.auth.AsyncAuthException - 指定者:
authenticate在接口中org.apache.sshd.server.auth.password.PasswordAuthenticator- 抛出:
org.apache.sshd.server.auth.password.PasswordChangeRequiredExceptionorg.apache.sshd.server.auth.AsyncAuthException
-
handleClientPasswordChangeRequest
-