Class SetTenantAction

  • All Implemented Interfaces:
    Action

    public class SetTenantAction
    extends ChainedAction
    Set the tenant variable in the session (part of Db2 multi-tenancy support). This needs to be executed at the beginning of an interaction with a database connection, before any other DML/SQL.
    • Field Detail

      • DATASTORE_REQUIRES_ROW_PERMISSIONS

        public static final List<String> DATASTORE_REQUIRES_ROW_PERMISSIONS
    • Constructor Detail

      • SetTenantAction

        public SetTenantAction​(FHIRConfigProvider configProvider)
        Public constructor. No next action, so this will be the last action applied
        Parameters:
        configProvider - adapter for access to fhir-server-config properties
      • SetTenantAction

        public SetTenantAction​(FHIRConfigProvider configProvider,
                               Action next)
        Public constructor
        Parameters:
        configProvider - adapter for access to fhir-server-config properties
        next - the next action in the chain