JBoss Seam 中未安装权限存储

发布于 2024-10-28 12:42:01 字数 151 浏览 10 评论 0原文

我将 Eclipse Helios(已安装 JBoss Tools)与 JBoss 5.1 GA 和 Seam 2.2 一起使用。我注意到每次部署我的项目时,我都会看到一条警告,告诉我没有安装权限存储。如果要使用持久连接请安装权限存储

请问如何使用框架自带的默认权限存储?

I use Eclipse Helios (JBoss Tools installed) with JBoss 5.1 GA and Seam 2.2. I noticed that each time my project is being deployed, I see a warning telling me that no permission store is installed. Install permission store if you want to use persistent connections

Please how to do I make use of the default permission store that comes with the framework?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

落墨 2024-11-04 12:42:01

查看 15.6.10.3 部分。 Seam 的 JpaPermissionStore 文档

要点是您分配一个特殊实体,该实体将负责提供和存储授权数据。 Seam 将扫描实体字段上的注释 org.jboss.seam.annotations.security.permission.* 并决定如何使用或设置该字段的值。

另请注意,Seam 不会为您提供 UI 来管理权限存储,而是提供 API,您可以使用这些 API 来构建自己的权限存储。

我还没有找到关于如何使用 Seam 的此功能的好示例,但是 Seam 附带的 seamspace 示例应该可以为您提供如何使用 Seam Security 的起点。

Look in section 15.6.10.3. JpaPermissionStore of seam documentation

The main point there is that you assign a special entity, that will be responsible to provide and store authorization data. Seam will scan annotations org.jboss.seam.annotations.security.permission.* on fields of the entity and decide how to use or set the values of that fields.

Also note that Seam won't provide you UI to manage the permission store, instead it will give APIs, which you use to build your own.

I haven't found a good example on how to use this feature of Seam, but seamspace example coming with Seam should give you a starting point on how to use Seam Security.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文