org.globus.wsrf.impl.security.authentication.secureconv.service
Class SecurityContext

java.lang.Object
  extended byorg.globus.wsrf.impl.security.authentication.secureconv.service.SecurityContext
All Implemented Interfaces:
ResourceIdentifier

public class SecurityContext
extends Object
implements ResourceIdentifier

Associates a GSSContext with a context Id. It is used for GSI secure converstation. For internal use only.


Constructor Summary
SecurityContext(GSSContext context, String contextId)
           
 
Method Summary
 GSSContext getContext()
           
 GSSCredential getDelegatedCredential()
          A convinience function to extract delegated user credential if any
 Object getID()
          Returns the unique id of the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityContext

public SecurityContext(GSSContext context,
                       String contextId)
Method Detail

getContext

public GSSContext getContext()

getID

public Object getID()
Description copied from interface: ResourceIdentifier
Returns the unique id of the resource. In most cases this value should match value returned by ResoureKey.getValue().

Specified by:
getID in interface ResourceIdentifier
Returns:
the id of the resource.

getDelegatedCredential

public GSSCredential getDelegatedCredential()
A convinience function to extract delegated user credential if any

Returns:
the delegated user credential. null if delegation was not performed.


Copyright ? 1999-2003 University of Chicago and The University of Southern California. All rights reserved.