Package org.apache.sshd.server.auth.gss
Class CredentialHelper
- java.lang.Object
-
- org.apache.sshd.server.auth.gss.CredentialHelper
-
public final class CredentialHelper extends java.lang.Object
Simple helper class which gets GSS credential using a fixed Krb5 login configuration. May need generalizing to deal with non-Sun JREs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
CredentialHelper.FixedLoginConfiguration
A login configuration which is defined from code.private static class
CredentialHelper.G
Privileged action which runs as the subject to get the credentials.
-
Constructor Summary
Constructors Modifier Constructor Description private
CredentialHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.ietf.jgss.GSSCredential
creds(org.ietf.jgss.GSSManager mgr, java.lang.String spn, java.lang.String keytab)
-