无法为JDBC领域用户加载组

时间:2011-11-27 17:04:54

标签: security glassfish glassfish-3 jdbcrealm

我的jdbcRealm以某种方式被GlassFish的魔法删除了。现在,当我尝试将其重新添加时,我收到以下错误。

SEVERE: SEC1111: Cannot load group for JDBC realm user [admin].
WARNING: WEB9102: Web Login Failed: com.sun.enterprise.security.auth.login.common.LoginException: Login failed: Security Exception
WARNING: Exception
com.sun.enterprise.security.auth.login.common.LoginException: Login failed: Security Exception
    at com.sun.enterprise.security.auth.login.LoginContextDriver.doPasswordLogin(LoginContextDriver.java:394)

基于我在这里看到的其他答案,罪魁祸首通常是用作列名的保留字,但在我的情况下这似乎不是问题(见下面的截图)。我们最近进行了一些数据库模型更改,因此我不得不在web.xml和glassfish-web.xml中重新配置角色到组的映射。有五个角色,它们是用户之间的1:1映射。

enter image description here

0 个答案:

没有答案