|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GSSCredentialSpi
This interface is implemented by a mechanism specific credential element. A GSSCredential is conceptually a container class of several credential elements from different mechanisms.
| 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. |
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. |
| Method Detail |
|---|
Provider getProvider()
void dispose()
throws GSSException
GSSException - with major codes NO_CRED and FAILURE
GSSNameSpi getName()
throws GSSException
GSSException - may be thrown
int getInitLifetime()
throws GSSException
GSSException - may be thrown
int getAcceptLifetime()
throws GSSException
GSSException - may be thrown
boolean isInitiatorCredential()
throws GSSException
GSSException
boolean isAcceptorCredential()
throws GSSException
GSSExceptionOid getMechanism()
GSSException - may be thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||