public interface UserAuth
Modifier and Type | Method and Description |
---|---|
Boolean |
auth(ServerSession session,
String username,
Buffer buffer)
Try to authenticate the user.
|
Boolean auth(ServerSession session, String username, Buffer buffer) throws Exception
session
- the current ssh sessionusername
- the user trying to log inbuffer
- the request buffer containing parameters specific to this requesttrue
if the authentication succeeded, false
if the authentication
is not finished yetException
- if the authentication failsCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.