Class ReportAsResourceServerBeforeInvocationEventListener

java.lang.Object
io.jmix.reportsrest.security.event.ReportAsResourceServerBeforeInvocationEventListener

public class ReportAsResourceServerBeforeInvocationEventListener extends Object
A listener for AsResourceServerBeforeInvocationEvent that checks "reports.rest.enabled" specific policy for /rest/reports/** requests, managed by resource server of the Authorization Server add-on. If the current user doesn't have this policy then the FORBIDDEN error is thrown.
  • Field Details

    • accessManager

      @Autowired protected AccessManager accessManager
  • Constructor Details

    • ReportAsResourceServerBeforeInvocationEventListener

      public ReportAsResourceServerBeforeInvocationEventListener()
  • Method Details