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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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.
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