|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsun.security.mule.jgss.spnego.SpNegoCredElement
public class SpNegoCredElement
This class is the cred element implementation for SPNEGO mech. NOTE: The current implementation can only support one mechanism. This should be changed once multi-mechanism support is needed.
| Method Summary | |
|---|---|
void |
dispose()
Called to invalidate this credential element and release any system recourses and cryptographic information owned by the credential. |
int |
getAcceptLifetime()
Returns the accept lifetime remaining. |
int |
getInitLifetime()
Returns the init lifetime remaining. |
GSSCredentialSpi |
getInternalCred()
|
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public GSSCredentialSpi getInternalCred()
public Provider getProvider()
getProvider in interface GSSCredentialSpi
public void dispose()
throws GSSException
GSSCredentialSpi
dispose in interface GSSCredentialSpiGSSException - with major codes NO_CRED and FAILURE
public GSSNameSpi getName()
throws GSSException
GSSCredentialSpi
getName in interface GSSCredentialSpiGSSException - may be thrown
public int getInitLifetime()
throws GSSException
GSSCredentialSpi
getInitLifetime in interface GSSCredentialSpiGSSException - may be thrown
public int getAcceptLifetime()
throws GSSException
GSSCredentialSpi
getAcceptLifetime in interface GSSCredentialSpiGSSException - may be thrown
public boolean isInitiatorCredential()
throws GSSException
GSSCredentialSpi
isInitiatorCredential in interface GSSCredentialSpiGSSException
public boolean isAcceptorCredential()
throws GSSException
GSSCredentialSpi
isAcceptorCredential in interface GSSCredentialSpiGSSExceptionpublic Oid getMechanism()
GSSCredentialSpi
getMechanism in interface GSSCredentialSpi
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||