Smile CDR v2024.05.PRE
On this page:
   45.4    Authentication Callback Scripts 45.6    User Authentication   

45.5.1Auth: General for APIs

 

The Auth: General for APIs configuration category includes the following configurable options:

  • Anonymous Account Username

  • Allow Anonymous Access

45.5.2Property: Anonymous Account Username

 
Property Name Anonymous Account Username
Property Key
Property Type STRING
Description The account name for the system account to use for anonymous requests.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
Default Value ANONYMOUS
Example Property
module.[MODULE_ID].config.anonymous.access.account_username = ANONYMOUS

45.5.3Property: Allow Anonymous Access

 
Property Name Allow Anonymous Access
Property Key
Property Type BOOLEAN
Description If enabled, anonymous requests (i.e. requests without credentials) will be allowed to proceed. This means that they will not be blocked by the security manager, and they will instead proceed under the authority of the designated anonymous user. Only roles and permissions that have been assigned to the anonymous user will be granted to these requests. See Anonymous Access for more information.
Applies to Modules
  • CDS Hooks REST Endpoint
  • FHIR Gateway REST Endpoint
  • FHIR REST Endpoint (All FHIR Versions)
  • FHIR REST Endpoint (DSTU2 - Deprecated)
  • FHIR REST Endpoint (R3 - Deprecated)
  • FHIR REST Endpoint (R4 - Deprecated)
  • FHIRWeb Console
  • HL7 v2.x Listening Endpoint
  • Hybrid Providers REST Endpoint
  • JSON Admin API
  • MDM UI
  • Package Registry Endpoint
  • Payer to Payer
Default Value false
Example Property
module.[MODULE_ID].config.anonymous.access.enabled = false
   45.4    Authentication Callback Scripts 45.6    User Authentication