org.nees.auth.grid
Class GridAuthenticIdentity

java.lang.Object
  extended byorg.nees.auth.AuthenticIdentity
      extended byorg.nees.auth.grid.GridAuthenticIdentity
Direct Known Subclasses:
MyProxyAuthenticIdentity

public class GridAuthenticIdentity
extends AuthenticIdentity


Constructor Summary
GridAuthenticIdentity(org.ietf.jgss.GSSCredential cred)
           
 
Method Summary
 org.ietf.jgss.GSSCredential getCredential()
          Return the user's grid credential
 java.lang.String getDistinguishedName()
          Get the user's DN in Globus format "/CN=..."
 org.globus.gsi.GlobusCredential getGlobusCredential()
          Return the user's globus credential
 
Methods inherited from class org.nees.auth.AuthenticIdentity
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridAuthenticIdentity

public GridAuthenticIdentity(org.ietf.jgss.GSSCredential cred)
Parameters:
cred - the user's grid credential
Method Detail

getCredential

public org.ietf.jgss.GSSCredential getCredential()
Return the user's grid credential

Returns:
the user's grid credential

getGlobusCredential

public org.globus.gsi.GlobusCredential getGlobusCredential()
Return the user's globus credential

Returns:
the user's globus credential

getDistinguishedName

public java.lang.String getDistinguishedName()
Get the user's DN in Globus format "/CN=..."

Specified by:
getDistinguishedName in class AuthenticIdentity
Returns:
the user's DN in Globus format "/CN=..."