Package de.elo.ix.client
Class SessionOptionsC
java.lang.Object
de.elo.ix.client.SessionOptionsC
- All Implemented Interfaces:
Serializable
Constants of SessionOptions.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringComma separated list of active role IDs.static final StringReserved.static final StringApply all blackenings on documents regardless of their ACL.static final StringClient application name.static final StringClient application type.static final StringClient application version.static final StringControl the synchronicity of copying objkeys to child entries.static final StringThis character is used in the SQL statement, if the search criterias contain one of the SQL wildcard characters: "%", "_".static final StringThis characters are used as wildcards in search terms.static final StringSet this option to decrypt documents on checkout.static final StringDeprecated.This option is ignored since ELO 9.0static final StringIf set, this option disables the protection of change information.static final StringDisable logging of API calls for this session.static final StringDeprecated.This option is ignored since ELO 9.0static final StringDefine the download URL type.static final StringGenerate URLs that do not expire.static final StringDeprecated.static final StringDeprecated.static final StringGenerate URLs that expire after a given time.static final StringSet this option to encrypt documents on checkin.static final StringThis session option declares that the IXConnection handles server events declared inIXServerEvents.static final StringAttribute name to which Indexserver maps an IXConnection in the HTTP Sessionstatic final StringAttribute name to which Indexserver maps a Ticket in the HTTP Sessionstatic final StringFormat ISO date values with delimiter characters defined in ISO 8601.static final StringDefine the first part of the URLs generated from Indexserver.static final StringDeprecated.static final StringDeprecated.static final intFunction getSessionFromTicket: used in combination with SESSION_FROM_AM.static final intFunction getSessionFromTicket: any active session known by the AccessManager can be requested.static final intFunction getSessionFromTicket: any active session can be requested and is inserted into the session management of this Indexserver instance.static final intFunction getSessionFromTicket: session must be known by this Indexserver instance.static final StringIf this option is set to "true", the Indexserver starts the workflow defined in DocMask.flowId and DocMask.flowId2 when an associated document is created or checked in.static final StringThis value can be used asClientInfo.ticketor in IXConnFactory#createFromTicket() if the server should use the session cookie as authentication token.static final StringTranslate keywording forms names, index names, index values and keyword lists into resp.static final StringThis option value has to be used for option CLIENT_APP_TYPE if a partner application connects to IX. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic StringintintintintvoidsetCLIENT_APP_NAME(String CLIENT_APP_NAME) voidsetCLIENT_APP_TYPE(String CLIENT_APP_TYPE) voidsetCLIENT_APP_VERSION(String CLIENT_APP_VERSION) static voidsetCOPY_OBJKEYS_IN_BACKGROUND(String COPY_OBJKEYS_IN_BACKGROUND) voidsetDB_ESCAPE_CHAR(String DB_ESCAPE_CHAR) voidsetDB_WILDCARDS(String DB_WILDCARDS) voidsetDECRYPT_DOCUMENTS(String DECRYPT_DOCUMENTS) voidsetDIRECT_DM_ACCESS(String DIRECT_DM_ACCESS) static voidsetDISABLE_WRITE_CHANGE_INFO(String DISABLE_WRITE_CHANGE_INFO) voidsetDOC_URL_BASE(String dOCURLBASE) voidsetDOWNLOAD_URL_TYPE(String dOWNLOAD_URL_TYPE) voidsetDOWNLOAD_URL_TYPE_PERSISTENT(String dOWNLOAD_URL_TYPE_PERSISTENT) static voidsetDOWNLOAD_URL_TYPE_PUBLIC(String DOWNLOAD_URL_TYPE_PUBLIC) voidsetDOWNLOAD_URL_TYPE_TEMPORARY(String dOWNLOAD_URL_TYPE_TEMPORARY) voidsetENCRYPT_DOCUMENTS(String ENCRYPT_DOCUMENTS) voidvoidsetIX_URL_BASE(String iXURLBASE) static voidsetPUBLIC_DOWNLOAD_COUNT(String PUBLIC_DOWNLOAD_COUNT) static voidsetPUBLIC_DOWNLOAD_EXPIREDTIME(String PUBLIC_DOWNLOAD_EXPIREDTIME) voidsetSESSION_ADD(int sESSIONADD) voidsetSESSION_FROM_AM(int sESSIONFROMAM) voidsetSESSION_FROM_AM_ADD(int sESSIONFROMAMADD) voidsetSESSION_FROM_IX(int sESSIONFROMIX) voidsetTRANSLATE_TERMS(String TRANSLATE_TERMS) voidsetTYPE_PARTNER_APPLICATION(String TYPE_PARTNER_APPLICATION)
-
Field Details
-
CLIENT_APP_NAME
Client application name. Optional.- See Also:
-
CLIENT_APP_VERSION
Client application version. Optional.- See Also:
-
CLIENT_APP_TYPE
Client application type. Mandatory. The appropriate value for partner applications is TYPE_PARTNER_APPLICATION unless a special type is arranged.- See Also:
-
TYPE_PARTNER_APPLICATION
This option value has to be used for option CLIENT_APP_TYPE if a partner application connects to IX.- See Also:
-
APP_TYPE_MINI_CLIENT
Reserved. This value is reserved for ELO applications. Unauthorized usage violates the ELO licensing terms.- Since:
- 10.17.010.001
- See Also:
-
DB_ESCAPE_CHAR
This character is used in the SQL statement, if the search criterias contain one of the SQL wildcard characters: "%", "_". It defaults to "¶" which is a reserved character in ELO and a valid escape character for the most SQL servers and configurations. Unless a search kritera contains "¶" or the SQL server does not allow the use of this character (e. g. ORACLE, UTF-8) the value has to be changed. Hint: Indexserver-API uses "*" as the only valid wildcard. The escape character must not be used in the search criterias.- See Also:
-
DB_WILDCARDS
This characters are used as wildcards in search terms. The first wildcard is used for zero or more characters. The second wildcard is used for exactly one character. By default (if this member is null or empty), only the first wildcard is defined: *- See Also:
-
DIRECT_DM_ACCESS
Deprecated.This option is ignored since ELO 9.0This option specifies which application is addressed in URLs to upload and download documents. If direct access is true, the URLs address the DM directly. Otherwise the documents are routed though the IX.- See Also:
-
ENCRYPT_DOCUMENTS
Set this option to encrypt documents on checkin. A secure connection (HTTPS) is required to use this option.- See Also:
-
DECRYPT_DOCUMENTS
Set this option to decrypt documents on checkout. A secure connection (HTTPS) is required to use this option.- See Also:
-
TRANSLATE_TERMS
Translate keywording forms names, index names, index values and keyword lists into resp. from the language given inClientInfo.language.- Since:
- 7.00.000.004
- See Also:
-
ISO_DATE_WITH_DELIMS
Format ISO date values with delimiter characters defined in ISO 8601.- See Also:
-
START_DOCMASK_WORKFLOWS
If this option is set to "true", the Indexserver starts the workflow defined in DocMask.flowId and DocMask.flowId2 when an associated document is created or checked in.- See Also:
-
ACTIVE_ROLES
Comma separated list of active role IDs.- Since:
- 20.00.000.003
- See Also:
-
SESSION_FROM_IX
public static final int SESSION_FROM_IXFunction getSessionFromTicket: session must be known by this Indexserver instance. An exception is thrown, if the session is not known by this Indexserver instance. The ticket lifetime is extended.- Since:
- 7.00.022.001
- See Also:
-
SESSION_FROM_AM
public static final int SESSION_FROM_AMFunction getSessionFromTicket: any active session known by the AccessManager can be requested. The session is not inserted into the session management of this Indexserver instance. Thus the session cannot be used to make Indexserver function calls. The ticket lifetime is not extended.- Since:
- 7.00.022.001
- See Also:
-
SESSION_ADD
public static final int SESSION_ADDFunction getSessionFromTicket: used in combination with SESSION_FROM_AM. Add the session into the internal session management.- See Also:
-
SESSION_FROM_AM_ADD
public static final int SESSION_FROM_AM_ADDFunction getSessionFromTicket: any active session can be requested and is inserted into the session management of this Indexserver instance. If the session is not known by this Indexserver instance, it is assumed to be a Windows CLIENT session (relevant to license model). The ticket lifetime is extended. This value is the same as SESSION_FROM_AM | SESSION_ADD.- Since:
- 7.00.022.001
- See Also:
-
IX_URL_BASE
Define the first part of the URLs generated from Indexserver. See configuration option ixUrlBase on the Indexserver option page.- See Also:
-
DOC_URL_BASE
Deprecated.This option is ignored since ELO 9.0Define the first part of the document URLs generated from Indexserver. See configuration option documentUrlBase on the Indexserver option page.- See Also:
-
DOWNLOAD_URL_TYPE
Define the download URL type. IX can generate several types of URLs to download documents. Possible values are the constants DOWNLOAD_URL_TYPE_*. The default value is DOWNLOAD_URL_TYPE_TEMPORARY.- Since:
- 8.00.028.001
- See Also:
-
DOWNLOAD_URL_TYPE_TEMPORARY
Generate URLs that expire after a given time. The lifetime can be specified with the option "documentUrlLifetimeSeconds". By default, all URLs are created with a constrained lifetime.- Since:
- 8.00.028.001
- See Also:
-
DOWNLOAD_URL_TYPE_PERSISTENT
Generate URLs that do not expire. IX generates URLs that can be used without time limitation. The URL includes a strongly encrypted ID of the document or attachment version. AES is used to encrypt the URL parameters. The AES key is read from the IX option AESEncryptionKey.
ATTENTION: If the key AESEncryptionKey is changed, all URLs generated before become invalid!
ATTENTION: No access checking is performed, when the document is downloaded from the URL! Everyone who knows the URL and has access to ELOix can download the document. This option cannot not be used for documents with blackening. No URL is generated for those documents.
Only main administrators can use this option. The document is accessed by the IX account. Authentication is not required or performed.- Since:
- 8.00.028.001
- See Also:
-
DOWNLOAD_URL_TYPE_PUBLIC
Deprecated.Generate public download URLs for the actual working version, that expire after a given time. Only a given number of downloads is allowed. IX generates URLs that can be used by non ELO users. The URL includes a strongly encrypted ID of the document or attachment version. AES is used to encrypt the URL parameters. The AES key is read from the IX option AESEncryptionKey.
ATTENTION: If the key AESEncryptionKey is changed, all URLs generated before become invalid!
ATTENTION: No access checking is performed, when the document is downloaded from the URL! Everyone who knows the URL and has access to ELOix can download the document. This option cannot not be used for documents with blackening. No URL is generated for those documents.
Authentication is not required or performed.- Since:
- 9.00.014.003
- See Also:
-
DOWNLOAD_URL_TYPE_PUBLIC_VERSION
Deprecated.Generate public download URLs for the document version, that expire after a given time.. Only a given number of downloads is allowed. IX generates URLs that can be used by non ELO users. The URL includes a strongly encrypted ID of the document or attachment version. AES is used to encrypt the URL parameters. The AES key is read from the IX option AESEncryptionKey.
ATTENTION: If the key AESEncryptionKey is changed, all URLs generated before become invalid!
ATTENTION: No access checking is performed, when the document is downloaded from the URL! Everyone who knows the URL and has access to ELOix can download the document. This option cannot not be used for documents with blackening. No URL is generated for those documents.
Authentication is not required or performed.- Since:
- 9.00.014.003
- See Also:
-
PUBLIC_DOWNLOAD_COUNT
Deprecated.Define the allowed number of public downloads.- Since:
- 9.00.014.003
- See Also:
-
PUBLIC_DOWNLOAD_EXPIREDTIME
Deprecated.Define the expired time of public downloads.- Since:
- 9.00.014.003
- See Also:
-
APPLY_ALL_BLACKENINGS
Apply all blackenings on documents regardless of their ACL. ELOtr sets this option as "true" to receive documents with all blackenings. This ensures that blackened parts cannot be retrieved by a fulltext search. TTS003793- Since:
- 10.17.010.009
- See Also:
-
DISABLE_CHANGE_INFO_PROTECTION
If set, this option disables the protection of change information.Disabling the writing of changes information causes the Indexserver to not update the *tstamp* database columns. Then, the client has to ensure that the time stamps of objects are set correctly. Setting this option without reason causes the loss of traceability of objects in the archive! Only the replication module should use this option.
The replication searches the database for changes since the last replication run. The gathered changes will be transported to other sites and imported into the database there. Such an import must not trigger the writing of change informations as further this would trigger the export of these changes again, claiming the changes would have been made at the site importing the changes.
- Since:
- 9.99.009.001
- See Also:
-
HANDLE_IX_SERVER_EVENTS
This session option declares that the IXConnection handles server events declared inIXServerEvents.- Since:
- 10.17.030.001
- See Also:
-
HTTP_SESSION_IX_CONNECTION
Attribute name to which Indexserver maps an IXConnection in the HTTP Session- Since:
- 11.00.000.044
- See Also:
-
HTTP_SESSION_TICKET
Attribute name to which Indexserver maps a Ticket in the HTTP Session- Since:
- 11.00.000.044
- See Also:
-
TICKET_FROM_COOKIE
This value can be used asClientInfo.ticketor in IXConnFactory#createFromTicket() if the server should use the session cookie as authentication token. EIX-393- Since:
- 11.00.000.044
- See Also:
-
DISABLE_LOGGING_API_CALLS
Disable logging of API calls for this session. EIX-3303- Since:
- 21.04.000.005
- See Also:
-
COPY_OBJKEYS_IN_BACKGROUND
Control the synchronicity of copying objkeys to child entries.- Since:
- 21.04.000.007
- See Also:
-
-
Constructor Details
-
SessionOptionsC
public SessionOptionsC()
-
-
Method Details
-
getDISABLE_WRITE_CHANGE_INFO
-
setDISABLE_WRITE_CHANGE_INFO
-
getCLIENT_APP_NAME
-
setCLIENT_APP_NAME
-
getCLIENT_APP_TYPE
-
setCLIENT_APP_TYPE
-
getCLIENT_APP_VERSION
-
setCLIENT_APP_VERSION
-
getDB_ESCAPE_CHAR
-
setDB_ESCAPE_CHAR
-
getDIRECT_DM_ACCESS
-
setDIRECT_DM_ACCESS
-
getTYPE_PARTNER_APPLICATION
-
setTYPE_PARTNER_APPLICATION
-
getDECRYPT_DOCUMENTS
-
setDECRYPT_DOCUMENTS
-
getENCRYPT_DOCUMENTS
-
setENCRYPT_DOCUMENTS
-
getTRANSLATE_TERMS
-
setTRANSLATE_TERMS
-
getISO_DATE_WITH_DELIMS
-
setISO_DATE_WITH_DELIMS
-
getSESSION_FROM_IX
public int getSESSION_FROM_IX() -
setSESSION_FROM_IX
public void setSESSION_FROM_IX(int sESSIONFROMIX) -
getSESSION_FROM_AM
public int getSESSION_FROM_AM() -
setSESSION_FROM_AM
public void setSESSION_FROM_AM(int sESSIONFROMAM) -
getSESSION_FROM_AM_ADD
public int getSESSION_FROM_AM_ADD() -
setSESSION_FROM_AM_ADD
public void setSESSION_FROM_AM_ADD(int sESSIONFROMAMADD) -
getSESSION_ADD
public int getSESSION_ADD() -
setSESSION_ADD
public void setSESSION_ADD(int sESSIONADD) -
getDB_WILDCARDS
-
setDB_WILDCARDS
-
getIX_URL_BASE
-
setIX_URL_BASE
-
getDOC_URL_BASE
-
setDOC_URL_BASE
-
getDOWNLOAD_URL_TYPE
-
setDOWNLOAD_URL_TYPE
-
getDOWNLOAD_URL_TYPE_TEMPORARY
-
setDOWNLOAD_URL_TYPE_TEMPORARY
-
getDOWNLOAD_URL_TYPE_PERSISTENT
-
setDOWNLOAD_URL_TYPE_PERSISTENT
-
getPUBLIC_DOWNLOAD_EXPIREDTIME
-
setPUBLIC_DOWNLOAD_EXPIREDTIME
-
getDOWNLOAD_URL_TYPE_PUBLIC
-
setDOWNLOAD_URL_TYPE_PUBLIC
-
getPUBLIC_DOWNLOAD_COUNT
-
setPUBLIC_DOWNLOAD_COUNT
-
getCOPY_OBJKEYS_IN_BACKGROUND
-
setCOPY_OBJKEYS_IN_BACKGROUND
-