Security is not enabled unless you set the security-domain element in the jboss.xml descriptor as described in the quick start guide. Set that and try your example.
I don't want use JAAS or have I to use it? security-domain need a JNDI name for JAAS. I want only prevent calls from other clients without using any authentification. In a front I have a stateless session as facade, which should run under given role-name. I each method call of the facade I have own implementation of security checks. after my check I call other beans.
Rafal
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message ----- From: "Rafal Kedziorski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 4:16 AM Subject: [JBoss-user] security question
> hi, > > I have a small problem with security, which I'm testing now. > > I'm working with JBoss 3.0.6 and J2SE 1.4.1_02. My ejb-jar.xml looks so:
------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user