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 int
authenticate(AuthenticationProtocolServer authentication, SshMsgUserAuthRequest msg)
java.lang.String
getMethodName()
void
setAuthenticatedTokens(java.util.Map tokens)
-
-
-
Method Detail
-
getMethodName
public final java.lang.String getMethodName()
- Specified by:
getMethodName
in 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:
authenticate
in classSshAuthenticationServer
- Parameters:
authentication
-msg
-- Returns:
- Throws:
java.io.IOException
-
-