ego2002, 

There are 2 aspects:

1.  You need to authenticate (which means that you will login) if the results 
     from the Passwsord, where Role maps to the role in the authorization 
clause.  
2.  You need to authorize access to the role by setting the <security-role> 
element in the web.xml in WEB-INF.
3.  The aplication-policy is "other"
4. Use the DEBUG flags in log4j.xml in the JBOSS dir to log the security info. 
for debugging.  This is how you do it:


   <!--
      | An example of enabling the custom TRACE level priority that is used
      | by the JBoss internals to diagnose low level details. This example
      | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
      | subpackages. This will produce A LOT of logging output.
      -->
   
     
   
   
     
   
  
     
   
   
  
     
   
   
     
   

  Cheers!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912874#3912874

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912874


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to