com.mindbright.ssh2
public class SSH2AuthGSS extends java.lang.Object implements SSH2AuthModule, java.security.PrivilegedAction<SSH2TransportPDU>
SSH2AuthModule
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STANDARD_NAME |
Constructor and Description |
---|
SSH2AuthGSS() |
SSH2AuthGSS(java.lang.String realm,
java.lang.String kdc) |
Modifier and Type | Method and Description |
---|---|
void |
clearSensitiveData()
Clean up any sensitive data in this authentication module.
|
java.lang.String |
getStandardName()
Should give the standard name of this module as used in the userauth
protocol.
|
SSH2TransportPDU |
processMethodMessage(SSH2UserAuth userAuth,
SSH2TransportPDU pdu)
Processes the given method specific packet and returns a new
packet which will be sent to peer to continue the authentication.
|
boolean |
retryPointless()
Returns true if there is not any point in trying this method again
after it has failed once.
|
SSH2TransportPDU |
run() |
SSH2TransportPDU |
startAuthentication(SSH2UserAuth userAuth)
Starts the execution of this module, called from the given
SSH2UserAuth . |
public static final java.lang.String STANDARD_NAME
public SSH2AuthGSS()
public SSH2AuthGSS(java.lang.String realm, java.lang.String kdc)
public java.lang.String getStandardName()
SSH2AuthModule
getStandardName
in interface SSH2AuthModule
public SSH2TransportPDU run()
run
in interface java.security.PrivilegedAction<SSH2TransportPDU>
public SSH2TransportPDU processMethodMessage(SSH2UserAuth userAuth, SSH2TransportPDU pdu) throws SSH2Exception
SSH2AuthModule
processMethodMessage
in interface SSH2AuthModule
userAuth
- the authentication layer responsiblepdu
- the method specific packetnull
if no packet
should be sent.SSH2Exception
- if an error occurspublic SSH2TransportPDU startAuthentication(SSH2UserAuth userAuth) throws SSH2Exception
SSH2AuthModule
SSH2UserAuth
.startAuthentication
in interface SSH2AuthModule
userAuth
- the authentication layer responsibleSSH2Exception
- if an error occurspublic void clearSensitiveData()
SSH2AuthModule
clearSensitiveData
in interface SSH2AuthModule
public boolean retryPointless()
SSH2AuthModule
retryPointless
in interface SSH2AuthModule