public abstract class FdkConfigurationImpl extends FdkConfiguration
Constructor and Description |
---|
FdkConfigurationImpl()
Constructor for node mode.
|
FdkConfigurationImpl(String serviceName,
SystemUserCredential sysCred)
Constructor for standalone mode.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AttributeHandlerRegistry |
constructAttributeHandlerRegistry()
Construct and save the AttributeHandlerRegistry in effect for this instance.
|
protected abstract ItemTypeRegistry |
constructItemTypeRegistry()
Construct and save the ItemTypeRegistry in effect for this instance.
|
abstract Credential |
createCredentialByGuid(String userGuid,
String realmGuid)
Create a credential for a given user and realm GUID pair.
|
abstract Credential |
createCredentialByPrincipal(Principal principal)
Create a credential for a given user principal.
|
abstract Credential |
createCredentialByUsername(String username)
Create a credential for a given username.
|
protected LibrarySession |
createLibrarySession(Credential credential,
ConnectOptions options)
Create a session given the credentials and connect options.
|
void |
dispose()
Method that needs to be called by the subclass dispose() method.
|
AttributeHandlerRegistry |
getAttributeHandlerRegistry()
Gets the AttributeHandlerRegistry in effect for this instance.
|
int |
getGuestSessionPoolMaximumSize()
Returns the maximum size for the guest session pool.
|
int |
getGuestSessionPoolTargetSize()
Returns the target size for the guest session pool.
|
static FdkConfigurationImpl |
getImplInstance()
Returns the singleton instance of this class.
|
ItemTypeRegistry |
getItemTypeRegistry()
Gets the ItemTypeRegistry in effect for this instance.
|
int |
getMaximumConcurrentRequestsPerUser()
Returns the maximum concurrent requests per user.
|
int |
getMaximumSessionsPerUser()
Returns the maximum number of sessions per user.
|
int |
getSystemSessionPoolMaximumSize()
Returns the maximum size for the system session pool.
|
int |
getSystemSessionPoolTargetSize()
Returns the target size for the system session pool.
|
int |
getTransactionTimeout()
Returns the transaction timeout for sessions that span multiple
requests.
|
int |
getTransactionTimeoutCheckInterval()
Returns the amount of time, in seconds, to wait between consecutive checks
for transactions that need to be timed out.
|
void |
initialize(LibrarySession systemSession)
Method that needs to be called by the subclass initizlize() methods.
|
protected void |
initializeStandalone(String serviceName,
SystemUserCredential sysCred)
Initialize after constructing standalone instance.
|
boolean |
isAutoUserProvisioningEnabled()
Returns true if the auto-provisioning feature is enabled and also IDM
is enabled.
|
boolean |
isWebServiceSecureCleartextAuthenticationRequired()
Returns true if HTTPS/SSL is required for cleartext password
authentication over web services.
|
String |
lookupItemType(LibraryObject reposObject)
Lookup the FDK type for the specified LibraryObject.
|
constructManagersFactory, getBpelWorklistUrl, getDavNullResourceLockExpirationPeriod, getDavUserAgents, getFileExtensionsOmittedFromVirusScan, getInstance, getLastAntiVirusDefinitionUpdate, getProductVersion, initializeStandaloneMode, isDavCopyMoveThroughFolderLinkAllowed, isIdmEnabled, isInitialized, isVirusScannerEnabled, isWorkflowEnabled, login
public FdkConfigurationImpl()
public FdkConfigurationImpl(String serviceName, SystemUserCredential sysCred)
public static final FdkConfigurationImpl getImplInstance()
protected void initializeStandalone(String serviceName, SystemUserCredential sysCred)
FdkConfiguration
initializeStandalone
in class FdkConfiguration
serviceName
- the service namesysCred
- the system user credentialpublic void initialize(LibrarySession systemSession) throws IfsException
FdkConfiguration
initialize
in class FdkConfiguration
IfsException
protected abstract ItemTypeRegistry constructItemTypeRegistry()
protected abstract AttributeHandlerRegistry constructAttributeHandlerRegistry()
public void dispose()
FdkConfiguration
dispose
in class FdkConfiguration
public ItemTypeRegistry getItemTypeRegistry()
public AttributeHandlerRegistry getAttributeHandlerRegistry()
public String lookupItemType(LibraryObject reposObject) throws IfsException
lookupItemType
in class FdkConfiguration
reposObject
- the LibraryObjectIfsException
public int getMaximumSessionsPerUser()
public int getMaximumConcurrentRequestsPerUser()
public int getTransactionTimeout()
public int getTransactionTimeoutCheckInterval()
public int getSystemSessionPoolTargetSize()
public int getSystemSessionPoolMaximumSize()
public int getGuestSessionPoolTargetSize()
public int getGuestSessionPoolMaximumSize()
public boolean isAutoUserProvisioningEnabled()
public boolean isWebServiceSecureCleartextAuthenticationRequired()
protected LibrarySession createLibrarySession(Credential credential, ConnectOptions options) throws IfsException
IfsException
public abstract Credential createCredentialByUsername(String username) throws IfsException
IfsException
public abstract Credential createCredentialByGuid(String userGuid, String realmGuid) throws IfsException
IfsException
public abstract Credential createCredentialByPrincipal(Principal principal) throws IfsException
principal
- the user principalIfsException
- if the operation failCopyright © 2023. All rights reserved.