|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.security.auth.kerberos.KerberosTicket
sun.security.mule.jgss.krb5.Krb5InitCredential
public class Krb5InitCredential
Implements the krb5 initiator credential element.
| Method Summary | |
|---|---|
void |
dispose()
Called to invalidate this credential element. |
int |
getAcceptLifetime()
Returns the accept lifetime remaining. |
int |
getInitLifetime()
Returns the init lifetime remaining. |
static Krb5InitCredential |
getInstance(int caller,
Krb5NameElement name,
int initLifetime,
Config kerberosConfig)
|
static Krb5InitCredential |
getInstance(Krb5NameElement name,
Credentials delegatedCred,
Config kerberosConfig)
|
Oid |
getMechanism()
Returns the oid representing the underlying credential mechanism oid. |
GSSNameSpi |
getName()
Returns the principal name for this credential. |
Provider |
getProvider()
|
boolean |
isAcceptorCredential()
Determines if this credential element can be used by a context acceptor. |
boolean |
isInitiatorCredential()
Determines if this credential element can be used by a context initiator. |
| Methods inherited from class javax.security.auth.kerberos.KerberosTicket |
|---|
destroy, equals, getAuthTime, getClient, getClientAddresses, getEncoded, getEndTime, getFlags, getRenewTill, getServer, getSessionKey, getSessionKeyType, getStartTime, hashCode, isCurrent, isDestroyed, isForwardable, isForwarded, isInitial, isPostdated, isProxiable, isProxy, isRenewable, refresh, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Krb5InitCredential getInstance(int caller,
Krb5NameElement name,
int initLifetime,
Config kerberosConfig)
throws GSSException
GSSException
public static Krb5InitCredential getInstance(Krb5NameElement name,
Credentials delegatedCred,
Config kerberosConfig)
throws GSSException
GSSException
public final GSSNameSpi getName()
throws GSSException
GSSException - may be thrown
public int getInitLifetime()
throws GSSException
GSSException - may be thrown
public int getAcceptLifetime()
throws GSSException
GSSException - may be thrown
public boolean isInitiatorCredential()
throws GSSException
GSSCredentialSpi
GSSException
public boolean isAcceptorCredential()
throws GSSException
GSSCredentialSpi
GSSExceptionpublic final Oid getMechanism()
GSSException - may be thrownpublic final Provider getProvider()
public void dispose()
throws GSSException
GSSException - with major codes NO_CRED and FAILURE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||