|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HandshakingUserAuth
Extension of UserAuth for use with methods which require handshakes, such as gssapi-with-mic.
Method Summary | |
---|---|
void |
destroy()
Free any system resources used by the module. |
String |
getUserName()
Get a user name which has been derived from the handshaking process, or the intial name if nothing has been found. |
boolean |
handles(SshConstants.Message msg)
Check whether a particular message is handled here. |
Boolean |
next(ServerSession session,
SshConstants.Message msg,
Buffer buffer)
Handle another step in the authentication process. |
void |
setServiceName(String service)
Set the service name from the original request. |
Methods inherited from interface org.apache.sshd.server.UserAuth |
---|
auth |
Method Detail |
---|
void setServiceName(String service)
service
- The service nameboolean handles(SshConstants.Message msg)
msg
- The message
true
if the message is handledBoolean next(ServerSession session, SshConstants.Message msg, Buffer buffer) throws Exception
session
- the current ssh sessionmsg
- The message typebuffer
- the request buffer containing parameters specific to this request
true
if the authentication succeeded, false
if the authentication
is not finished yet
Exception
- if the authentication failsString getUserName() throws Exception
Exception
- if the request failsvoid destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |