Class PasswordAuthenticationServer
- java.lang.Object
-
- com.sshtools.daemon.authentication.SshAuthenticationServer
-
- com.sshtools.daemon.authentication.PasswordAuthenticationServer
-
public class PasswordAuthenticationServer extends SshAuthenticationServer
- Version:
- $Revision: 1.10 $
- Author:
- $author$
-
-
Constructor Summary
Constructors Constructor Description PasswordAuthenticationServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intauthenticate(AuthenticationProtocolServer authentication, SshMsgUserAuthRequest msg)java.lang.StringgetMethodName()voidsetAuthenticatedTokens(java.util.Map tokens)
-
-
-
Method Detail
-
getMethodName
public final java.lang.String getMethodName()
- Specified by:
getMethodNamein classSshAuthenticationServer- Returns:
-
setAuthenticatedTokens
public void setAuthenticatedTokens(java.util.Map tokens)
- Parameters:
tokens-
-
authenticate
public int authenticate(AuthenticationProtocolServer authentication, SshMsgUserAuthRequest msg) throws java.io.IOException
- Specified by:
authenticatein classSshAuthenticationServer- Parameters:
authentication-msg-- Returns:
- Throws:
java.io.IOException
-
-