public class CoreFdkConfiguration extends FdkConfigurationImpl
Constructor and Description |
---|
CoreFdkConfiguration()
Constructor for node mode.
|
CoreFdkConfiguration(String serviceName,
SystemUserCredential sysCred)
Constructor for standalone mode.
|
Modifier and Type | Method and Description |
---|---|
protected AttributeHandlerRegistry |
constructAttributeHandlerRegistry()
Construct and save the AttributeHandlerRegistry in effect for this instance.
|
protected ItemTypeRegistry |
constructItemTypeRegistry()
Construct and save the ItemTypeRegistry in effect for this instance.
|
ManagersFactory |
constructManagersFactory(FdkSession session)
Construct a ManagersFactory for a quest or system session.
|
Credential |
createCredentialByGuid(String userGuid,
String realmGuid)
Create a credential for a given user and realm GUID pair.
|
Credential |
createCredentialByPrincipal(Principal principal)
Create a credential for a given user principal
NOTE: This method is dangerous to call as it does not verify the
credentials of the user in any way.
|
Credential |
createCredentialByUsername(String username)
Create a credential for a given username.
|
FdkSession |
login(FdkCredential cred)
Login and create an FdkSession context.
|
createLibrarySession, dispose, getAttributeHandlerRegistry, getGuestSessionPoolMaximumSize, getGuestSessionPoolTargetSize, getImplInstance, getItemTypeRegistry, getMaximumConcurrentRequestsPerUser, getMaximumSessionsPerUser, getSystemSessionPoolMaximumSize, getSystemSessionPoolTargetSize, getTransactionTimeout, getTransactionTimeoutCheckInterval, initialize, initializeStandalone, isAutoUserProvisioningEnabled, isWebServiceSecureCleartextAuthenticationRequired, lookupItemType
getBpelWorklistUrl, getDavNullResourceLockExpirationPeriod, getDavUserAgents, getFileExtensionsOmittedFromVirusScan, getInstance, getLastAntiVirusDefinitionUpdate, getProductVersion, initializeStandaloneMode, isDavCopyMoveThroughFolderLinkAllowed, isIdmEnabled, isInitialized, isVirusScannerEnabled, isWorkflowEnabled
public CoreFdkConfiguration()
public CoreFdkConfiguration(String serviceName, SystemUserCredential sysCred)
protected ItemTypeRegistry constructItemTypeRegistry()
FdkConfigurationImpl
constructItemTypeRegistry
in class FdkConfigurationImpl
protected AttributeHandlerRegistry constructAttributeHandlerRegistry()
FdkConfigurationImpl
constructAttributeHandlerRegistry
in class FdkConfigurationImpl
public FdkSession login(FdkCredential cred) throws FdkException
login
in class FdkConfiguration
cred
- the FdkCredentialFdkException
- if operation failspublic ManagersFactory constructManagersFactory(FdkSession session) throws FdkException
constructManagersFactory
in class FdkConfiguration
session
- the sessionFdkException
- if operation failspublic Credential createCredentialByUsername(String username) throws IfsException
NOTE: This method is dangerous to call as it does not verify the credentials of the user in any way. It assumes that the caller verified the user in a different way, for example via JAAS.
createCredentialByUsername
in class FdkConfigurationImpl
IfsException
public Credential createCredentialByGuid(String userGuid, String realmGuid) throws IfsException
NOTE: This method is dangerous to call as it does not verify the credentials of the user in any way. It assumes that the caller verified the user in a different way, for example via JAAS.
createCredentialByGuid
in class FdkConfigurationImpl
IfsException
public final Credential createCredentialByPrincipal(Principal principal) throws IfsException
NOTE: This method is dangerous to call as it does not verify the credentials of the user in any way. It assumes that the caller verified the user in a different way, for example via JAZN.
createCredentialByPrincipal
in class FdkConfigurationImpl
principal
- the user principalIfsException
- if the operation failCopyright © 2023. All rights reserved.