I have implemented a security web app that embeds more or less most of the security features in Seam. However there's one bug or misuse on my side in regards to the addRoleToGroup(String name, String group) function:
I have created two roles successfully using JpaIdentityManagment and I can see the users in the database, now when I invoke the addRoleToGroup() function nothing happens, I can still see the two roles in the database yet there's no mapping between. I'm following an extended model of the seamspace application.
Any help is highly appreciated, thanks in advance.
This has been fixed. Flushing the entity manager sorted out things, probably this should be documented somewhere?