Class BpmBeforeRestInvocationEvent

java.lang.Object
io.jmix.bpmrest.security.event.BpmBeforeRestInvocationEvent

@Component("bpm_BpmBeforeRestInvocationEvent") @ConditionalOnClass(name="io.jmix.securityoauth2.SecurityOAuth2Configuration") public class BpmBeforeRestInvocationEvent extends Object
Performs checking for all requests which match with: /rest/bpm/process/**, rest/bpm/dmn/** because they should be available only for authenticated users with a special BpmRestAccessContext.POLICY_NAME policy. If no such policy will be found event should prevent further request execution and set proper errorCode.

Should be used only with jmix-security-oauth2 module, so conditional annotation applied.

See Also:
  • Constructor Details

    • BpmBeforeRestInvocationEvent

      public BpmBeforeRestInvocationEvent()
  • Method Details