JDeveloper 10.1.3.3 ADF Swing - Entity or ViewObject level security issue
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?
Thanks.