Smile CDR v2024.05.PRE
On this page:
   45.129    SMART Definitions Seeding 45.131    Two Factor Authentication   

45.130.1Sessions

 

The Sessions configuration category includes the following configurable options:

  • Use In-Memory Sessions

  • Maximum concurrent session per user

  • Session Scavenger Interval (Millis)

  • Session Timeout (Mins)

45.130.2Property: Use In-Memory Sessions

 
Property Name Use In-Memory Sessions
Property Key
Property Type BOOLEAN
Description If enabled, any HTTP sessions created for this listener will be stored only in memory, as opposed to being persisted in the database. This may lead to a performance boost in some situations but also prevents sessions from working in some clustered configurations or surviving a restart of the system. Note that not all listeners even create sessions (e.g. FHIR endpoints do not) so this setting may have no effect.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • Web Admin Console
  • appSphere
Default Value false
Example Property
module.[MODULE_ID].config.sessions.inmemory = false

45.130.3Property: Maximum concurrent session per user

 
Property Name Maximum concurrent session per user
Property Key
Property Type INTEGER
Description If set to a value greater than zero, this server will limit the number of concurrent sessions per user. If the same user initiates a new session with this module, any existing sessions will be invalidated.
Applies to Modules
  • FHIRWeb Console
  • SMART Outbound Security
  • Web Admin Console
Default Value 0
Example Property
module.[MODULE_ID].config.sessions.maximum_concurrent = 0

45.130.4Property: Session Scavenger Interval (Millis)

 
Property Name Session Scavenger Interval (Millis)
Property Key
Property Type POSITIVE_INTEGER
Description The number of milliseconds between session scavenger passes.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • Web Admin Console
  • appSphere
Default Value 60000
Example Property
module.[MODULE_ID].config.sessions.scavenger.interval.millis = 60000

45.130.5Property: Session Timeout (Mins)

 
Property Name Session Timeout (Mins)
Property Key
Property Type POSITIVE_INTEGER
Description The number of minutes that a user session can sit idle before it is eligible to expire.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
  • SMART Outbound Security
  • Subscription Websocket Endpoint
  • Web Admin Console
  • appSphere
Default Value 30
Example Property
module.[MODULE_ID].config.sessions.timeout.mins = 30
   45.129    SMART Definitions Seeding 45.131    Two Factor Authentication