Class IAuthRuleTester.RuleTestRequest

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.auth.IAuthRuleTester.RuleTestRequest
Enclosing interface:
IAuthRuleTester

public static class IAuthRuleTester.RuleTestRequest extends Object
A request object to make this easier to extend.
  • Field Details

    • mode

      @Nonnull public final PolicyEnum mode
      the mode of the calling rule context
    • operation

      @Nonnull public final ca.uhn.fhir.rest.api.RestOperationTypeEnum operation
      The FHIR operation being performed. Note that this is not necessarily the same as the value obtained from invoking RequestDetails.getRestOperationType() on requestDetails because multiple operations can be nested within an HTTP request using FHIR transaction and batch operations
    • requestDetails

      @Nonnull public final RequestDetails requestDetails
    • resourceId

      @Nullable public final org.hl7.fhir.instance.model.api.IIdType resourceId
    • resource

      @Nullable public final org.hl7.fhir.instance.model.api.IBaseResource resource
    • ruleApplier

      @Nonnull public final IRuleApplier ruleApplier
      supplier for support services
  • Constructor Details

    • RuleTestRequest

      public RuleTestRequest(PolicyEnum theMode, @Nonnull ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperation, @Nonnull RequestDetails theRequestDetails, @Nullable org.hl7.fhir.instance.model.api.IIdType theResourceId, @Nullable org.hl7.fhir.instance.model.api.IBaseResource theResource, @Nonnull IRuleApplier theRuleApplier)