@Component(value="bpm_BpmBeforeRestInvocationEvent")
@ConditionalOnClass(name="io.jmix.securityoauth2.SecurityOAuth2Configuration")
public class BpmBeforeRestInvocationEvent
extends java.lang.Object
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.
io.jmix.securityoauth2.impl.LastSecurityFilter
Constructor and Description |
---|
BpmBeforeRestInvocationEvent() |
Modifier and Type | Method and Description |
---|---|
void |
doListen(io.jmix.securityoauth2.event.BeforeInvocationEvent event) |
protected boolean |
shouldCheckRequest(javax.servlet.ServletRequest request) |