Package com.documentum.fc.client
Class DfDefaultTrustManager
java.lang.Object
com.documentum.fc.client.DfDefaultTrustManager
- All Implemented Interfaces:
IDfTrustManager
A default implementation of
IDfTrustManager that manages trust credentials in the form of properties that can
be configured in a file.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance from configuration information found in the default resource (trust.properties).DfDefaultTrustManager(String resourceName) Constructs a new instance from configuration information found in a specific named resource.DfDefaultTrustManager(Properties trustProperties) Constructs a new instance from configuration information in the form of a property bag. -
Method Summary
Modifier and TypeMethodDescriptiongetTrustCredential(String docbaseName) Gets the credential necessary to establish trust with a specific Docbase.
-
Constructor Details
-
DfDefaultTrustManager
Constructs a new instance from configuration information found in the default resource (trust.properties).- Throws:
IOException
-
DfDefaultTrustManager
Constructs a new instance from configuration information found in a specific named resource.- Throws:
IOException
-
DfDefaultTrustManager
Constructs a new instance from configuration information in the form of a property bag.
-
-
Method Details
-
getTrustCredential
Gets the credential necessary to establish trust with a specific Docbase.- Specified by:
getTrustCredentialin interfaceIDfTrustManager- Returns:
- the credential for establishing trust. null is returned if no such credential exists.
-