org.globus.exec.utils
Class JobClientSecurityStrategy

java.lang.Object
  extended byorg.globus.exec.utils.JobClientSecurityStrategy
All Implemented Interfaces:
org.globus.rendezvous.client.ClientSecurityStrategy

public class JobClientSecurityStrategy
extends java.lang.Object
implements org.globus.rendezvous.client.ClientSecurityStrategy

Security settings for remote calls to a managed job port type


Field Summary
private  Authorization authorization
           
static Authorization DEFAULT_AUTHZ
           
static java.lang.Integer DEFAULT_MSG_PROTECTION
           
private static org.globus.util.I18n i18n
           
private  java.lang.Integer msgProtectionType
           
private  org.ietf.jgss.GSSCredential proxy
           
 
Constructor Summary
JobClientSecurityStrategy()
           
 
Method Summary
 Authorization getAuthorization()
           
 org.ietf.jgss.GSSCredential getCredentials()
          Gets the credentials of this job.
 java.lang.Integer getMessageProtectionType()
           
 ResourceSecurityDescriptor getSecurityDescriptor()
           
 void setAuthorization(Authorization auth)
           
 void setCredentials(org.ietf.jgss.GSSCredential newProxy)
          Sets credentials of the job
 void setMessageProtectionType(java.lang.Integer protectionType)
           
 void setStubPropertiesForDefaultOperation(javax.xml.rpc.Stub stub)
           
 void setStubPropertiesForGetResourceProperty(javax.xml.rpc.Stub stub)
           
 void setStubPropertiesForRegister(javax.xml.rpc.Stub stub)
           
 void setStubPropertiesForSubscribe(javax.xml.rpc.Stub stub)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MSG_PROTECTION

public static final java.lang.Integer DEFAULT_MSG_PROTECTION

DEFAULT_AUTHZ

public static final Authorization DEFAULT_AUTHZ

msgProtectionType

private java.lang.Integer msgProtectionType

authorization

private Authorization authorization

proxy

private org.ietf.jgss.GSSCredential proxy

i18n

private static org.globus.util.I18n i18n
Constructor Detail

JobClientSecurityStrategy

public JobClientSecurityStrategy()
Method Detail

setStubPropertiesForGetResourceProperty

public void setStubPropertiesForGetResourceProperty(javax.xml.rpc.Stub stub)
Specified by:
setStubPropertiesForGetResourceProperty in interface org.globus.rendezvous.client.ClientSecurityStrategy

setStubPropertiesForSubscribe

public void setStubPropertiesForSubscribe(javax.xml.rpc.Stub stub)
Specified by:
setStubPropertiesForSubscribe in interface org.globus.rendezvous.client.ClientSecurityStrategy

setStubPropertiesForRegister

public void setStubPropertiesForRegister(javax.xml.rpc.Stub stub)
Specified by:
setStubPropertiesForRegister in interface org.globus.rendezvous.client.ClientSecurityStrategy

getSecurityDescriptor

public ResourceSecurityDescriptor getSecurityDescriptor()
Specified by:
getSecurityDescriptor in interface org.globus.rendezvous.client.ClientSecurityStrategy

setStubPropertiesForDefaultOperation

public void setStubPropertiesForDefaultOperation(javax.xml.rpc.Stub stub)
Specified by:
setStubPropertiesForDefaultOperation in interface org.globus.rendezvous.client.ClientSecurityStrategy

setAuthorization

public void setAuthorization(Authorization auth)

getAuthorization

public Authorization getAuthorization()

setMessageProtectionType

public void setMessageProtectionType(java.lang.Integer protectionType)

getMessageProtectionType

public java.lang.Integer getMessageProtectionType()

getCredentials

public org.ietf.jgss.GSSCredential getCredentials()
Gets the credentials of this job.

Returns:
job credentials. If null none were set.

setCredentials

public void setCredentials(org.ietf.jgss.GSSCredential newProxy)
Sets credentials of the job

Parameters:
newProxy - user credentials
Throws:
java.lang.IllegalArgumentException - if credentials are already set