Class RestAsResourceServerBeforeInvocationEventListener

java.lang.Object
io.jmix.rest.security.impl.RestAsResourceServerBeforeInvocationEventListener

public class RestAsResourceServerBeforeInvocationEventListener extends Object
A listener for AsResourceServerBeforeInvocationEvent that checks "rest.enabled" specific permission for each REST API request, managed by resource server of Authorization Server add-on. If the current user doesn't have this policy then the FORBIDDEN error is thrown.