|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mindbright.ssh2.SSH2AuthGSS
public class SSH2AuthGSS
This class implements a module for GSS API user authentication as defined in RFC 4462. It only works with cached tickets. See also: http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/single-signon.html Depends on java properties: java.security.krb5.conf java.security.krb5.realm java.security.krb5.kdc
SSH2AuthModule| Field Summary | |
|---|---|
static java.lang.String |
STANDARD_NAME
|
| Constructor Summary | |
|---|---|
SSH2AuthGSS()
|
|
SSH2AuthGSS(java.lang.String realm,
java.lang.String kdc)
|
|
| Method Summary | |
|---|---|
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. |
java.lang.Object |
run()
|
SSH2TransportPDU |
startAuthentication(SSH2UserAuth userAuth)
Starts the execution of this module, called from the given SSH2UserAuth. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STANDARD_NAME
| Constructor Detail |
|---|
public SSH2AuthGSS()
public SSH2AuthGSS(java.lang.String realm,
java.lang.String kdc)
| Method Detail |
|---|
public java.lang.String getStandardName()
SSH2AuthModule
getStandardName in interface SSH2AuthModulepublic java.lang.Object run()
run in interface java.security.PrivilegedAction
public SSH2TransportPDU processMethodMessage(SSH2UserAuth userAuth,
SSH2TransportPDU pdu)
throws SSH2Exception
SSH2AuthModule
processMethodMessage in interface SSH2AuthModuleuserAuth - the authentication layer responsiblepdu - the method specific packet
null if no packet
should be sent.
SSH2Exception - if an error occurs
public SSH2TransportPDU startAuthentication(SSH2UserAuth userAuth)
throws SSH2Exception
SSH2AuthModuleSSH2UserAuth.
startAuthentication in interface SSH2AuthModuleuserAuth - the authentication layer responsible
SSH2Exception - if an error occurspublic void clearSensitiveData()
SSH2AuthModule
clearSensitiveData in interface SSH2AuthModulepublic boolean retryPointless()
SSH2AuthModule
retryPointless in interface SSH2AuthModule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||