开发者

Custom Realm Problem

I followed some step by step tutorials about how to create and use a Custom Realm in Glassfish. I have done all the steps correctly, but when I want to use the realm in a web app the following exception is thrown :

SEVERE: com.sun.enterprise.security.auth.login.co开发者_StackOverflowmmon.LoginException: Login failed: Failed file login for p.

where "p" is the username I am supplying.

I read all the Q&As in Stack Overflow and some other places, but I found nothing helpful.

Any help will be appreciated.

Thanks,


I would suggest turning on security debug logging in Glassfish for further details. I once had a similar problem with Weblogic and the server logs were able to provide the missing details to solve it.

Here's a link to the logging configuration section in the Glassfish administration guide. You did not mention which version you are using, but maybe this helps getting started.


I am using Glassfish V 3.1 build 43. I found that it is a bug in this version. I also tried build 41 but I got the same result.

in V 3.0 there is no problem and every thing is good. in V 3.1 custom realms are not usable.

It is so bad for GF community to release an important product like an AS with such a bug.

if I am in fault please inform me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜