uk.org.ogsadai.activity.delivery.wsrf
Class GSISecureConversationProperty

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.ConnectionProperty
        |
        +--uk.org.ogsadai.client.toolkit.security.SecurityProperty
              |
              +--uk.org.ogsadai.activity.delivery.wsrf.GSISecureConversationProperty

public class GSISecureConversationProperty
extends SecurityProperty

Specifies the properties required for message level security using GSI secure conversation as supported by the Globus Toolkit.

Author:
OGSA-DAI team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
          Copyright statement
private static DAILogger LOG
          Logger object for logging in this class
private  GSIAuthorizationType mAuthorizationType
           
private  org.ietf.jgss.GSSCredential mCredential
           
private  GSIProtectionLevel mProtectionLevel
           
 
Fields inherited from class uk.org.ogsadai.client.toolkit.security.SecurityProperty
SECURITY
 
Fields inherited from class uk.org.ogsadai.client.toolkit.ConnectionProperty
CONNECTION_PROPERTY_NS
 
Constructor Summary
GSISecureConversationProperty()
          Creates a GSI secure conversation with default settings.
 
Method Summary
 void configureCallFactory(SOAPCallFactory factory)
          Configures a SOAPCallFactory to apply this connection property to any subsequent calls that are made.
 GSIAuthorizationType getAuthorizationType()
          Gets the current authorization type setting.
 GSIProtectionLevel getProtectionLevel()
          Gets the current protection level setting.
 void setAuthorization(GSIAuthorizationType authzType)
          Sets the authorization type to use for the GSI secure conversation.
 void setCredential(org.ietf.jgss.GSSCredential credential)
          Sets the credential to be used for the GSI secure conversation.
 void setProtectionLevel(GSIProtectionLevel protectionLevel)
          Sets the protection level to use for the GSI secure conversation.
 
Methods inherited from class uk.org.ogsadai.client.toolkit.ConnectionProperty
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
Copyright statement

See Also:
Constant Field Values

LOG

private static final DAILogger LOG
Logger object for logging in this class


mCredential

private org.ietf.jgss.GSSCredential mCredential

mProtectionLevel

private GSIProtectionLevel mProtectionLevel

mAuthorizationType

private GSIAuthorizationType mAuthorizationType
Constructor Detail

GSISecureConversationProperty

public GSISecureConversationProperty()
Creates a GSI secure conversation with default settings. The default protection level is INTEGRITY and the default authorization type is HOST. There is no default credential.

Method Detail

setCredential

public void setCredential(org.ietf.jgss.GSSCredential credential)
Sets the credential to be used for the GSI secure conversation.

Parameters:
credential - Credential.

setProtectionLevel

public void setProtectionLevel(GSIProtectionLevel protectionLevel)
Sets the protection level to use for the GSI secure conversation.

Parameters:
protectionLevel - protection level.

setAuthorization

public void setAuthorization(GSIAuthorizationType authzType)
Sets the authorization type to use for the GSI secure conversation.

Parameters:
authzType - Authorization type.

getProtectionLevel

public GSIProtectionLevel getProtectionLevel()
Gets the current protection level setting.

Returns:
protection level.

getAuthorizationType

public GSIAuthorizationType getAuthorizationType()
Gets the current authorization type setting.

Returns:
authorization type.

configureCallFactory

public void configureCallFactory(SOAPCallFactory factory)
Description copied from class: ConnectionProperty
Configures a SOAPCallFactory to apply this connection property to any subsequent calls that are made.

Specified by:
configureCallFactory in class ConnectionProperty
Parameters:
factory - factory used for creating SOAP calls that this connection property will be applied to