Package org.apache.sshd.server.auth.gss
Class CredentialHelper
java.lang.Object
org.apache.sshd.server.auth.gss.CredentialHelper
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 ClassesModifier and TypeClassDescriptionprivate static final class
A login configuration which is defined from code.private static final class
Privileged action which runs as the subject to get the credentials. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GSSCredential
creds
(GSSManager mgr, String spn, String keytab)
-
Constructor Details
-
CredentialHelper
private CredentialHelper()
-
-
Method Details
-
creds
public static GSSCredential creds(GSSManager mgr, String spn, String keytab) throws LoginException, GSSException - Throws:
LoginException
GSSException
-