Class CmisSessionBuilder
java.lang.Object
org.frankframework.extensions.cmis.CmisSessionBuilder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static CmisSessionBuildercreate()static CmisSessionBuildercreate(IScopeProvider scopeProvider) static StringgetRepositoryInfo(org.apache.chemistry.opencmis.client.api.Session cmisSession) booleanbooleanbooleansetAllowSelfSignedCertificates(boolean allowSelfSignedCertificates) setAuthAlias(String string) setBindingType(CmisSessionBuilder.BindingTypes bindingType) setIgnoreCertificateExpiredException(boolean b) setKeyManagerAlgorithm(String keyManagerAlgorithm) setKeystore(String string) setKeystoreAlias(String string) setKeystoreAliasAuthAlias(String string) setKeystoreAliasPassword(String string) setKeystoreAuthAlias(String string) setKeystorePassword(String string) setKeystoreType(KeystoreType value) setMaxConnections(int i) the maximum number of concurrent connections, 0 uses defaultsetOverrideEntryPointWSDL(String overrideEntryPointWSDL) setPassword(String string) setProxyAuthAlias(String string) setProxyHost(String proxyHost) setProxyPassword(String string) setProxyPort(int i) setProxyUsername(String string) setRepository(String repository) setTimeout(int i) READ_TIMEOUT timeout in MS.setTrustManagerAlgorithm(String trustManagerAlgorithm) setTruststore(String string) setTruststoreAuthAlias(String string) setTruststorePassword(String string) setTruststoreType(KeystoreType value) setUsername(String string) setVerifyHostname(boolean b) toString()
-
Field Details
-
OVERRIDE_WSDL_URL
- See Also:
-
OVERRIDE_WSDL_KEY
- See Also:
-
-
Constructor Details
-
CmisSessionBuilder
public CmisSessionBuilder() -
CmisSessionBuilder
-
-
Method Details
-
create
-
create
-
build
- Returns:
- a
Sessionconnected to the CMIS repository - Throws:
CmisSessionException- when the CmisSessionBuilder fails to connect to cmis repository
-
build
public CloseableCmisSession build(@Nullable String userName, @Nullable String password, @Nonnull Map<String, String> headers) throws CmisSessionException- Parameters:
userName- to connect or empty when no usernamepassword-- Returns:
- a
Sessionconnected to the CMIS repository - Throws:
CmisSessionException- when the CmisSessionBuilder fails to connect to cmis repository
-
getRepositoryInfo
public static String getRepositoryInfo(org.apache.chemistry.opencmis.client.api.Session cmisSession) -
setOverrideEntryPointWSDL
-
setKeystore
-
setKeystoreType
-
setKeystoreAuthAlias
-
setKeystorePassword
-
setKeyManagerAlgorithm
-
setKeystoreAlias
-
setKeystoreAliasAuthAlias
-
setKeystoreAliasPassword
-
setTruststore
-
setTruststoreAuthAlias
-
setTruststorePassword
-
setTruststoreType
-
setTrustManagerAlgorithm
-
setVerifyHostname
-
setAllowSelfSignedCertificates
-
setIgnoreCertificateExpiredException
-
setProxyHost
-
setProxyPort
-
setProxyAuthAlias
-
setProxyUsername
-
setProxyPassword
-
setUrl
-
setRepository
-
setAuthAlias
-
setUsername
-
setPassword
-
setBindingType
- Parameters:
bindingType- SeeCmisSessionBuilder.BindingTypesfor possible binding types
-
setMaxConnections
the maximum number of concurrent connections, 0 uses default -
setTimeout
READ_TIMEOUT timeout in MS. Defaults to 10000, inherited fromAbstractHttpSession.setTimeout(int). -
toString
-
getKeystore
-
getKeystoreType
-
getKeystoreAuthAlias
-
getKeystorePassword
-
getKeystoreAlias
-
getKeystoreAliasAuthAlias
-
getKeystoreAliasPassword
-
getKeyManagerAlgorithm
-
getTruststore
-
getTruststoreType
-
getTruststoreAuthAlias
-
getTruststorePassword
-
getTrustManagerAlgorithm
-
isVerifyHostname
public boolean isVerifyHostname() -
isAllowSelfSignedCertificates
public boolean isAllowSelfSignedCertificates() -
isIgnoreCertificateExpiredException
public boolean isIgnoreCertificateExpiredException()
-