|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nees.util.grid.GridUtils
| Constructor Summary | |
GridUtils()
|
|
| Method Summary | |
static org.globus.gsi.GlobusCredential |
deserializeGlobusCredential(java.lang.String serializedGlobusCredential)
Deserialize a Globus credential. |
static org.ietf.jgss.GSSCredential |
getCurrentSubjectCredential()
Get the current JAAS subject's credential. |
static org.ietf.jgss.GSSCredential |
getDefaultCredential()
Get the default GSS credential in the current environment |
static org.globus.gsi.GlobusCredential |
getGlobusCredential(org.ietf.jgss.GSSCredential cred)
If this GSSCredential wraps a Globus credential, get the Globus credential. |
static java.lang.String |
getGlobusDistinguishedName(org.ietf.jgss.GSSCredential cred)
If this GSSCredential wraps a Globus credential, get the Globus credential's distinguished name in Globus format "/CN=..." |
static org.ietf.jgss.GSSCredential |
getSubjectCredential(javax.security.auth.Subject subject)
Get a subject's GSS credentials. |
static java.lang.String |
serializeGlobusCredential(org.globus.gsi.GlobusCredential cred)
Serialize a Globus credential. |
static void |
setFullDelegationSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred)
Configures a service stub for GSI Secure Conversation (encrypted) Full delegation No authorization |
static void |
setLimitedDelegationSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred)
Configures a service stub for GSI Secure Conversation (encrypted) Limited delegation No authorization |
static void |
setSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred)
Configures a service stub for GSI Secure Conversation (encrypted) No authorization |
static void |
setSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred,
java.lang.String deleg)
Configures a grid service service stub for GSI Secure Conversation (encrypted) No authorization |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GridUtils()
| Method Detail |
public static org.ietf.jgss.GSSCredential getDefaultCredential()
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String serializeGlobusCredential(org.globus.gsi.GlobusCredential cred)
cred - the Globus credential
public static org.globus.gsi.GlobusCredential deserializeGlobusCredential(java.lang.String serializedGlobusCredential)
serializedGlobusCredential - a string representation of the Globus credential
public static void setSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred,
java.lang.String deleg)
service - the service stubgssCred - the credential to use for authenticationdeleg - the delegation mode
public static void setSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred)
service - the service stubgssCred - the credential to use for authentication
public static void setFullDelegationSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred)
service - the service stubgssCred - the credential to use for authentication
public static void setLimitedDelegationSecureConversation(java.rmi.Remote service,
org.ietf.jgss.GSSCredential gssCred)
service - the service stubgssCred - the credential to use for authenticationpublic static org.ietf.jgss.GSSCredential getSubjectCredential(javax.security.auth.Subject subject)
public static org.ietf.jgss.GSSCredential getCurrentSubjectCredential()
public static org.globus.gsi.GlobusCredential getGlobusCredential(org.ietf.jgss.GSSCredential cred)
public static java.lang.String getGlobusDistinguishedName(org.ietf.jgss.GSSCredential cred)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||