有没有一种方法可以在不创建 class 或组件的情况下动态地在 HTTP 侦听器连接器上实施访问决策管理器?

Is there a way to implement access decision manager on HTTP listener connector on the fly without creating a class or component?

我想知道是否有办法直接在 HTTP 侦听器连接器路径上应用访问决策管理器而不是 mule studio 中的组件? 类似于 localhost:8081/GetEmployee=ROLE_ADMIN

您可以使用过滤器来实现这一点。将过滤器放在查询参数上。

详情请参考这里

https://docs.mulesoft.com/mule-user-guide/v/3.4/using-filters

HTH.