I'm facing a problem with defining Java EE security rules and Seam Authentication using JAAS. The problem is, if I use container authentication Seam Context won't recognize the user and the roles. But, if I use jaas-config-name in the security:identity tag, the Java EE security rule won't recognize that the login had success.
Does anybody knows what is the best solution for this scenario? Is it possible to use JAAS, container and jboss seam security all together?