It looks like the "audit" element would certainly work, but I've been at it all day, 
and I can't seem to figure out the right combination of xdoclet tags to get it to run 
without throwing exceptions.

My web container is already running under java:/jaas/myLogin

Because of this and because I know that the EJB container runs in the same JVM, the 
EJB container SHOULD automatically use the same domain as the web container.  But even 
so, I must add a securitydomain attribute to my ejbdoclet 's <jboss tag. which then 
ends up in the jboss.xml. This in order to get clean deployment.

Next I've added the audit tags to my EJB as follows:
 * @jboss.audit-created-by
 *    field-name="createdBy"
 *    column-name="CREATED_BY"
 * @jboss.audit-created-time
 *    field-name="createdTime"
 *    column-name="CREATED_TIME"
 * @jboss.audit-updated-by

Clean deployment, but accessing the bean by an authenticated web user  results in:

No method permissions assigned to method=create, interface=HOME

So next I've added an @ejb.permissions unchecked="true"  in some vague and hopeless 
attempt to get some permissions assigned... but this seems to have no effect on the 
ejb-jar.xml

So I'm lost as to what the next steps should be.

Any help, anyone can provide would be appreciated.

dt








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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to