嵌入式 Glassfish 3.1.1 的授权问题
我正在使用 Embedded Glassfish 部署 Java EE 5 Web 应用程序。使用版本 3.1,我成功地:
将其部署在正常(非嵌入式)环境中;
基于第一步,创建嵌入式部署。
然后,事情发生了变化,我再也无法成功了。每次我尝试登录时,都会收到 403 错误,这意味着我的环境正常(可以进行身份验证),但我的授权规则不好!好的。你可以认为这显然是一个编码/配置问题,但事实是,当我不在嵌入式环境(现在是3.1.1版本)时,相同的.WAR可以部署并顺利运行。我刚刚尝试在 3.1.1 版本中重复上述两个步骤,但出现了相同的错误。
我对这个新的 GlassFish 版本可能做错了什么?
I'm using Embedded Glassfish to deploy a Java EE 5 web application. Using version 3.1 I was successful to:
Deploy it in a normal (not embedded) environment;
Based on the 1st step, create an embedded deploy.
Then, something changed that I cannot succeed anymore. Every time I try to log-in, I get a 403 error, meaning that my environment is working (could make authentication) but my authorization rules are not good! OK. You can think that it was obviously a codding/configuration problem, but the fact is that the same .WAR can be deployed and runs smoothly when I'm not at an embedded environment (now 3.1.1 version). I've just tried to repeat the two steps above to the 3.1.1 version, but the same error appear.
What can I be doing wrong to this new GlassFish version?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论