[jboss-user] [Security & JAAS/JBoss] - Re: Secure EJBs using Annotations

Wolfgang Knauf do-not-reply at jboss.com
Wed Oct 22 04:12:59 EDT 2008


Hi,

you can achieve this by adding a file "jboss.xml" to your EJB project, with this content:

<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC
  | 	"-//JBoss//DTD JBOSS 4.2//EN"
  | 	"http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd">
  | 
  | <jboss>
  | 	<security-domain>nameofsecuritydomain</security-domain>
  | </jboss>

Hope this helps

Wolfgang

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

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



More information about the jboss-user mailing list