限制从规则[drools]中访问类
我正在使用带有决策表的流口水。 决策表包含Java代码。
但是出于安全原因,我不希望Excel的设计师能够从规则中调用任何代码。 我希望他受到我们创建的模型对象的限制。我不想让他访问文件系统或其他任何内容。
是否可以配置流口水以将DRL中的访问仅限于特定类别?
问候,
I'm using drools with decision tables.
The decision table contains java code.
But for security reasons, I do not want that the designer of the excel be able to call any code from rule.
I want him to be limited on objects of model that we have created. I do not want to let him access file system or whatever.
Is it possible to configure drools to limit access in the DRL to only specific classes?
Regards,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,这是不可能的。
规则的作者(DRL或其他)可以通过类路径导入他们可用的任何类。
No this is not possible.
The author of the rules (DRL or otherwise) can import any class that's available to them via the classpath.