[jboss-user] [EJB 3.0] - security declarations in ejb-jar.xml ignored?

Daniel Lechner do-not-reply at jboss.com
Mon May 10 06:06:56 EDT 2010


Daniel Lechner [http://community.jboss.org/people/daniell] replied to the discussion

"security declarations in ejb-jar.xml ignored?"

To view the discussion, visit: http://community.jboss.org/message/542007#542007

--------------------------------------------------------------
> jaikiran pai schrieb:
> 
> > Daniel Lechner wrote:
> > 
> > 1. If I try to restrict the access by writing a * as method-name in the ejb-jar.xml file, only methods which are declared in the DAO class are taken into consideration. Methods from any base class can be accessed without restritcions!
> > 
> Is that method from base class, exposed as a business interface method from the bean's business interface?
The business interface, which is annotated with @javax.ejb.Remote does not contain the mentioned methods itself, but inherits it from another interface. At the interfaces we have a similar hierarchie compared to that on the class side.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/542007#542007]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100510/e2d763dd/attachment.html 


More information about the jboss-user mailing list