for 2) did you mean that the following should work?
|
|myaopdomain
|
|
or were you actually referring to security-domain (it works, we're using it)
Thanks
Sergiu
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952839#3952839
Reply to the post
Appologies for incorrectly formatted questions in the previous reply. Here are
the 2 remaining questions:
1. Can be used to override the order of inherited bindings in the
aspectdomain-ejb-interceptors-aop.xml? If so, is there an example I can look at?
2. In jboss.xml, can I somehow say that all
Thank you for replying and pointing me to the test, even though I might not
have started this thread in the right forum.
- I included the aspectdomain-interceptors-aop.xml to the root of the ejb jar
and deployed it within a ear; I also specified that the "Test Domain" inherits
bindings from "St
Sorry, "Subject" field was not complete in my original post
"sbivol" wrote : We might need to log every attempt (authorized and
unauthorized) to access a stateless EJB in our application. What's the right
way to implement this?
|
| The EJBs are secured by a JAAS
We might need to log every attempt (authorized and unauthorized) to access a
stateless EJB in our application. What's the right way to implement this?
The EJBs are secured by a JAAS security domain with the
DatabaseServerLoginModule.
We considered EJB interceptors, but they are not invoked unle
"regenwetter" wrote : Oh yes, I forgot this. Thanks a lot. Now it works :)
I have a similar case, but the ear's classloader is configured as follows:
com.example:loader=example.ear
java2ParentDelegaton=false
We are using 4.0.3 with upgraded EJB 3.0 container (RC5).
I also have the jboss.xml in the META-INF of my ejb jar file, and have
configured the security domain in login-config.xml (in server/default/conf),
and it seems to be correct (since it works if I annotate my bean with
@SecurityDomain).
I've tried the jboss.xml below in RC5, it does not seem to work, the default
login module gets invoked. Am I missing anything? To be precise, my jboss.xml
is:
|
|
| MySecurityDomain
|
|
I also tried java:/jaas/MySecurityDomain
with same result. However, the login module defined fo