Global

These Properties are for global configuration of the OpenPTK Server.

Syntax

   <Global>
      <Properties>
         <Property name="engine.session.ttl" value="1800000"/>
         <Property name="..." value="..."/>
      </Properties>
   </Global>

Arguments

None

Properties

Name Required Description Example Value
openptk.temp Yes Full directory name for temporary openptk data /var/tmp/openptk
auth.token.name.clientid Yes HTTP Header variable, authentication, client's "id" clientid
auth.token.name.clientcred Yes HTTP Header variable, authentication, client's "credentials" clientcred
auth.token.name.password Yes HTTP Header variable, authentication, user password password
auth.token.name.user Yes HTTP Header variable, authentication, user name user
auth.token.name.httpheader Yes HTTP Header variable, openptkid
http.session.cookie.uniqueid Yes HTTP Cookie name, OpenPTK Session Id OPENPTKSESSIONID
http.session.cookie.httponly   HTTP Cookie name, Flag to determine if .... true
engine.session.kill
If this value (milliseconds) has been reached, the Session will be destroyed regardless of when it was last updated or accessed. The default value, idf not set, is 0. This can be disabled by setting the value to zero (0)43200000 ( equals 12 hours) 
engine.session.ttl   Time to live for an idle Session (milliseconds), default is 30 minutes. 1800000 equals 30 minutes
engine.session.cache.ttl   Time to live for an idle Cache (milliseconds), within a Session, default is 5 minutes. 120000 equals 5 minutes
engine.session.scan.delay   Time (minutes) before the Session Manager should start scanning for invalid Sessions. The default time is 30 minutes. 30
engine.session.scan.sleep   Time (minutes) the Session Manager should sleep between scans. The default time is 5 minutes. 5
search.results.quantity   The number of search result items to return in a page. The default is 10 10
search.contains.minchar   The minimum number of characters required, for a search value, before the search algorithm will use a "contains" or "like" logic. For search values shorter in length, the "equals" logic is used. The default is 3 characters 3
search.attribute.default Yes The default attribute name to use for searching when the search logic can not assemble a complex search query firstname
server.config.userid   User id for the configuration user openptkconfig
server.config.password   User password for the configuration user. This property or server.config.password.encrypted needs to be set. password
server.config.password.encrypted    Encrypted value for User password. This property or server.config.password needs to be set EnespBAb/hMwNylyxlh0jw==
server.cookiepath Yes Path for storing HTTP Cookies "/"
server.defaultclient Yes Name of the default Client Id anon
security.enforcer.servlet Yes Keyword used to define the Decider enforcer for the Servlet layer webfilter
security.enforcer.engine Yes Keyword used to define the Decider enforcer for the Engine layer operation
allowed.characters.jdbc
Overrides the default allowed characters used for JDBC data and JDBC queries
"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
allowed.characters.web
Override the default allowed characters used for HTTP query parameters and path parameters
"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

Parent Element

<OpenPTK>

Child Element(s)

  • (none)


XML Sub-Elements