org.apache.sshd.server.auth.gss
Class CredentialHelper

java.lang.Object
  extended by org.apache.sshd.server.auth.gss.CredentialHelper

public 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.


Constructor Summary
CredentialHelper()
           
 
Method Summary
static org.ietf.jgss.GSSCredential creds(org.ietf.jgss.GSSManager mgr, java.lang.String spn, java.lang.String keytab)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialHelper

public CredentialHelper()
Method Detail

creds

public static org.ietf.jgss.GSSCredential creds(org.ietf.jgss.GSSManager mgr,
                                                java.lang.String spn,
                                                java.lang.String keytab)
                                         throws javax.security.auth.login.LoginException,
                                                org.ietf.jgss.GSSException
Throws:
javax.security.auth.login.LoginException
org.ietf.jgss.GSSException


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.