Hello, First of all, sorry for my english. Is not my first language :/
I'm trying to integrate a Seam application with my custom JAAS Login Module of JBossAS 4.2.2.GA. I add the Login Module to JBoss login-config.xml: | <application-policy name="webLogin"> | <authentication> | <login-module ...> | ... | </login-module> | </authentication> | </application-policy> | Then I add the restrictions in web.xml: | <security-constraint> | ... | </security-constraint> | | <login-config> | <auth-method>BASIC</auth-method> | <realm-name>webLogin</ream-name> | </login-config> | | ... | And set the Login Module in jboss-web.xml: | <jboss-web> | <security-domain>java:jaas/webLogin</security-domain> | </jboss-web> | As I saw in reference documentation I add the security component in components.xml: | <security:identity jaas-config-name="webLogin" /> | When I access to the application the container ask to me for a user and password, and seems to validate them correctly, but when I try to add web restrictions as s:hasRole('admin') the restriction doesn't work. I try to write the identity in the page #{identity.username} but allways username is blank. I don't know if I have something wrong in my configuration but I'm a bit dessesperate. Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103603#4103603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103603 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user