gov.nih.nci.cagrid.fqp.common
Class SecurityUtils

java.lang.Object
  extended by gov.nih.nci.cagrid.fqp.common.SecurityUtils

public class SecurityUtils
extends java.lang.Object

Author:
oster

Constructor Summary
SecurityUtils()
           
 
Method Summary
static org.globus.wsrf.impl.security.descriptor.ResourceSecurityDescriptor createResultsResourceSecurityDescriptor()
          Create a new ResourceSecurityDescriptor using the current Subject as owner and caller as only GridMap-authorized identity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityUtils

public SecurityUtils()
Method Detail

createResultsResourceSecurityDescriptor

public static org.globus.wsrf.impl.security.descriptor.ResourceSecurityDescriptor createResultsResourceSecurityDescriptor()
                                                                                                                   throws org.globus.wsrf.security.SecurityException,
                                                                                                                          org.globus.wsrf.impl.security.descriptor.SecurityDescriptorException
Create a new ResourceSecurityDescriptor using the current Subject as owner and caller as only GridMap-authorized identity. If there is no caller (no security being used), then null is returned.

Returns:
the created ResourceSecurityDescriptor, or null
Throws:
org.globus.wsrf.security.SecurityException
org.globus.wsrf.impl.security.descriptor.SecurityDescriptorException