|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.security.auth.kerberos.KerberosKey
sun.security.mule.jgss.krb5.Krb5AcceptCredential
public class Krb5AcceptCredential
Implements the krb5 acceptor credential element.
| Method Summary | |
|---|---|
void |
destroy()
Destroys the locally cached EncryptionKey value and then calls destroy in the base class. |
void |
dispose()
Called to invalidate this credential element. |
int |
getAcceptLifetime()
Returns the accept lifetime remaining. |
int |
getInitLifetime()
Returns the init lifetime remaining. |
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.KerberosKey |
|---|
equals, getAlgorithm, getEncoded, getFormat, getKeyType, getPrincipal, getVersionNumber, hashCode, isDestroyed, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
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
public void destroy()
throws DestroyFailedException
destroy in interface Destroyabledestroy in class KerberosKeyDestroyFailedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||