[jboss-user] [Security & JAAS/JBoss] - Re: Custom login-module and EJB
dabek
do-not-reply at jboss.com
Thu Jan 15 08:20:23 EST 2009
Hi Wolfgang,
I tried your suggestions and:
1. After changing dtd nothing changed
2. My sar file looks like:
lib
META-INF
+jboss-service.xml
+login-config.xml
+MANIFEST.MF
The login-config.xml is renamed security-config.xml
3. After changing logging I got this logs:
| 14:06:39,875 [n.XMLLoginConfigImpl(123)] TRACE - Begin getAppConfigurationEntry(BYPASSED-SECURITY), size=11
| 14:06:39,875 [n.XMLLoginConfigImpl(138)] TRACE - getAppConfigurationEntry(BYPASSED-SECURITY), no entry in appConfigs, tyring parentCont: null
| 14:06:39,875 [n.XMLLoginConfigImpl(145)] TRACE - getAppConfigurationEntry(BYPASSED-SECURITY), no entry in parentConfig, trying: other
| 14:06:39,875 [n.XMLLoginConfigImpl(155)] TRACE - End getAppConfigurationEntry(BYPASSED-SECURITY), authInfo=AppConfigurationEntry[]:
| [0]
| LoginModule Class: org.jboss.security.auth.spi.UsersRolesLoginModule
| ControlFlag: LoginModuleControlFlag: required
| Options:
|
| 14:06:39,875 [sersRolesLoginModule(123)] TRACE - initialize
| 14:06:39,875 [sersRolesLoginModule(126)] TRACE - Security domain: other
| 14:06:39,875 [sersRolesLoginModule(187)] TRACE - findResource: null
| 14:06:39,890 [sersRolesLoginModule(135)] ERROR - Failed to load users/passwords/role files
|
I found the place where the error is thrown.
I have CMP bean which has collection of others beans.
So in my session bean I create my frist bean, create second bean
and try to add second CMP bean to the collection in first.
And at this time I got this exception.
Regards,
Marcin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202116#4202116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202116
More information about the jboss-user
mailing list