O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Security with EJBs

As we already know, EJB security can be managed either programmatically using method calls in the application, or declaratively by making entries in the DD. Using EJBs a security role can be defined. This security role represents a grouping of permissions, which are associated with one or more methods. This means that EJB application security roles are granted permission to execute one or more methods. No distinctions are made pertaining to reading or writing information using an EJB; permissions are associated with method execution only.

Being able to execute a method implies that parameters may be passed to the method and values may be returned from the method. Permissions may be assigned to specific method signatures so ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required