长耳大野兔安全
我开始在我的项目中使用 Jackrabbit。据我发现,没有给出复杂的 LoginModule 和 AccessManager。我的意思是我们可以找到 SimpleLoginModule 但它只是一个模拟。 我需要的是一个简单的登录模块,可以从包含用户、密码和组的文件中进行配置。我知道我可以实现自己的类,但很难相信这么多年了还没有现成的解决方案......
I started to use Jackrabbit in my project. As i found out there is no complex LoginModule and AccessManager given. I mean we can find SimpleLoginModule but it is just a mock.
What i need is a simple LoginModule which can be configured eg from a file with users, passwords and groups. I know that i can implement my own classes, but it is hard to believe that after so many years there is no ready solution...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有几个基于 Jackrabbit 的开源/闭源项目,它们使用 JCR 作为参考实现并有实现。最有可能的是,您最好选择其中之一,以免重新发明轮子。完整列表:http://en.wikipedia.org/wiki/Apache_Jackrabbit
there are a couple Jackrabbit based open source / closed source projects out there that use JCR as their reference implementation and have implementations. Most probably you're best of choosing one of them in order to not reinvent the wheel. For a complete list: http://en.wikipedia.org/wiki/Apache_Jackrabbit
您是否在应用程序服务器或 Web 容器内运行?如果是这样,您通常会期望容器提供 JAAS 实现。例如,有关如何使用 Jetty 进行设置、将用户信息存储在数据库、属性文件或 LDAP 中的说明,请参阅:
Are you running inside an app server or web container? If so, you would usually expect the container to provide a JAAS implementation. For example, for instructions on how to set it up with Jetty, storing user information in a database, a properties file, or LDAP, see: