File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes ejb security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejb security" Watch "ejb security" New topic

ejb security

J McKee

Joined: Nov 15, 2011
Posts: 1
Hello I have a glassfish 3.1 project that uses application client to launch a netbeans platform application. This is fairly time-consuming to download and launch so I would like for different users to be able to login/logout of the client without having to close and relaunch it.

I am fairly new to ejb security so please forgive me if I am ignorant. I would like to use declarative security. However it seems that even though one may annotate ejb methods with permissions, the whole login/logout thing is coarse-grained and cannot be programmatically invoked.

So my question is whether there is a design pattern for this using the container managed security or should I implement my own security?

I agree. Here's the link:
subject: ejb security
jQuery in Action, 3rd edition