Skip to Main Content
This is a BETA environment
This environment is only for testing and may be reset multiple times during the testing period. We will be frequently upgrading this BETA environment, so check back often for changes. Please assist us by providing feedback via the bug icon to the left of your profile avatar. For the current active community, visit

JDeveloper ADF Swing - Entity or ViewObject level security issue

houevotonJan 13 2008
Hi all,

I am working on an ADF Swing desktop application. My project is a MDI style application.

I want to implement an entity level security like this:

1 - User access privileges are set in a table.
2 - I implemented methods to get the boolean canEdit(), canRead(), canManage(), etc. based on the user currently logged in.

I want to implement the following behaviour:

- my entities or viewobject turn automatically to READ_ONLY if the current user has only canRead() right.

- a message JOptionPane message is prompted if the current user DO NOT has canEdit() right, etc.

How can I implement such behaviour at entity level and/or ViewObject level?

Post Details
Added on Jan 13 2008