|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nees.util.grid.CredentialFacade
This facade wraps grid credentials and provides some utility methods.
Typical Usage:
Used to manage a grid credential and get information about it, such as the subject.
Life Cycle:
Created either to represent the default credential or by passing a credential to manage. There are also some static utility methods.
| Constructor Summary | |
CredentialFacade()
Create a facade for the default credential. |
|
CredentialFacade(org.ietf.jgss.GSSCredential realCredential)
Create a facade for the given credential. |
|
| Method Summary | |
org.ietf.jgss.GSSCredential |
getCredential()
Get the credential represented by this facade. |
static org.ietf.jgss.GSSCredential |
getDefaultCredential()
Get the default credential. |
int |
getRemainingLifetime()
Get the credential's remaining lifetime in seconds. |
java.lang.String |
getSubject()
Get the subject of the credential represented by this facade. |
static java.lang.String |
getSubject(org.ietf.jgss.GSSCredential cred)
Get the subject of a credential. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CredentialFacade()
throws CredentialException
public CredentialFacade(org.ietf.jgss.GSSCredential realCredential)
realCredential - the credential.| Method Detail |
public static org.ietf.jgss.GSSCredential getDefaultCredential()
throws java.lang.Exception
java.lang.Exception
public static java.lang.String getSubject(org.ietf.jgss.GSSCredential cred)
throws CredentialException
cred - the credential
CredentialExceptionpublic org.ietf.jgss.GSSCredential getCredential()
public java.lang.String getSubject()
throws CredentialException
CredentialException
public int getRemainingLifetime()
throws CredentialException
CredentialException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||