org.globus.exec.utils
Class JobClientSecurityStrategy
java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JobClientSecurityStrategy
public JobClientSecurityStrategy()
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