I've hit a problem when trying to deploy my app to JBoss (this may be coincidental). I've set up the JBoss jaas configurations and that's all fine it seems. I can log in as superuser, but I can't log in as other users. The problem seems to be down to that MgnlUserManager can't find it in the repository.

A dump of users show:
/system
/system/jcr:created=2008-11-26T14:05:42.205+01:00
/system/jcr:mixinTypes=mix:lockable
/system/jcr:primaryType=nt:folder
/system/anonymous[mgnl:user]
/system/superuser[mgnl:user]
/admin
/admin/jcr:created=2008-11-26T14:05:42.206+01:00
/admin/jcr:primaryType=nt:folder
/admin/jcr:mixinTypes=mix:lockable
/admin/testuser[mgnl:user]

which looks good (testuser of type mgnl:user under /admin).

However if I manually run the query that MgnlUser runs to find the user on login I get no result:

select * from mgnl:user where jcr:path = '/admin/testuser' or jcr:path like '/admin/%/testuser'
0 nodes returned in 2ms

And if I try a simpler query:

select * from mgnl:user
2 nodes returned in 5ms
/system/anonymous
/system/superuser

So it finds my other nodes, but not /admin/testuser.

I persist Magnolia in mysql and the folders that get created under my webapp root (cache and repositories) are deleted with my clean target. Could this be the issue? Have I deleted some essential search index?

M


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to