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

java.lang.Object
  |
  +--uk.org.ogsadai.activity.delivery.wsrf.DataTransportSecurityHelper

public class DataTransportSecurityHelper
extends java.lang.Object

A helper class for data transport activities which parses the activity in the client's request to extract Globus security parameters.

Author:
The OGSA-DAI Project Team.

Field Summary
private static?java.lang.String COPYRIGHT_NOTICE
??????????Copyright statement
?
Constructor Summary
DataTransportSecurityHelper()
???????????
?
Method Summary
private static?GSIAuthorizationType getAuthorizationType(org.w3c.dom.Element?gsiSecureConvElement)
??????????Gets the authorization type setting from the GSISecureConversation element.
private static?GSIProtectionLevel getProtectionLevel(org.w3c.dom.Element?gsiSecureConvElement)
??????????Gets the protection level setting from the GSISecureConversation element.
static?GSISecureConversationProperty parse(org.w3c.dom.Element?activityParameters)
??????????Parses the given activity parameters element and if there is a GSISecureConversation element returns a security property that specifies these.
?
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
Constructor Detail

DataTransportSecurityHelper

public DataTransportSecurityHelper()
Method Detail

parse

public static GSISecureConversationProperty parse(org.w3c.dom.Element?activityParameters)
Parses the given activity parameters element and if there is a GSISecureConversation element returns a security property that specifies these.

Parameters:
activityParameters - the XML element specifing the activity's parameters
Returns:
an object representing the security configuration or null if the XML contains no security specification.

getProtectionLevel

private static GSIProtectionLevel getProtectionLevel(org.w3c.dom.Element?gsiSecureConvElement)
Gets the protection level setting from the GSISecureConversation element.

Parameters:
gsiSecureConvElement - XML GSISecureConversation element that will contain a protection level specification.
Returns:
protection level value.

getAuthorizationType

private static GSIAuthorizationType getAuthorizationType(org.w3c.dom.Element?gsiSecureConvElement)
Gets the authorization type setting from the GSISecureConversation element.

Parameters:
gsiSecureConvElement - XML GSISecureConversation element that will contain a authorization type specification.
Returns:
authorization type value.