uk.org.ogsadai.client.toolkit.security.wsrf
Class SecurityConfigProperty
java.lang.Object
|
+--uk.org.ogsadai.client.toolkit.ConnectionProperty
|
+--uk.org.ogsadai.client.toolkit.security.SecurityProperty
|
+--uk.org.ogsadai.client.toolkit.security.wsrf.SecurityConfigProperty
- public class SecurityConfigProperty
- extends SecurityProperty
A connection property that can be used to specify a client-side security descriptor to use when communicating with a secure OGSA-DAI WSRF service. The format of the security descriptor is specified by the Globus Toolkit.
- Author:
- The OGSA-DAI Project Team
Constructor Summary |
SecurityConfigProperty(java.io.File securityConfigFile)
Create a security configuration property associated with the given security configuration file. |
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
mSecurityConfigFile
private java.io.File mSecurityConfigFile
-
File that contains the security configuration details
CLIENT_DESCRIPTOR_FILE
private static final java.lang.String CLIENT_DESCRIPTOR_FILE
-
Globus string for client descriptor file property. This should always be the same value as
org.globus.wsrf.security.Constants.CLIENT_DESCRIPTOR_FILE
It is duplicated here to remove any dependency on Globus code.
- See Also:
- Constant Field Values
SecurityConfigProperty
public SecurityConfigProperty(java.io.File securityConfigFile)
-
Create a security configuration property associated with the given security configuration file. The contents of this file are read whenever a message is sent to the server so if the file contents are changed the new contents will be used for the next message.
No checks are made to see if the file exists or has the correct contents.
- Parameters:
securityConfigFile
- The security configuration file. See Globus Toolkit documentation for expected contents of the client side security descriptors.
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