Hi,
I have created a webdynpro application. I need to restrict the user with a permission so that he can see the textboxes and buttons only if he has the Role(and its respective actions).
Try 1
I have created the permission class in my Webdynpro java project and i have used user.hasPermission to check. I have also created a actions.xml in my same webdynpro project and defined the action and permissions.
Now, if I deploy the webdynpro application- a new action is created in the Identity Management of type J2EE. I assign the action to a new role and assign it to my user in Identity Management. But in my application, the hasPermission check is not working and it is always false.
Try 2
I tried to create a new UME project and update the actions.xml, deploy the application. Now the new action is availalbe in the Identity Management - but the action is of type UME. Now,if i add this new action to the role - my application hasPermission check works fine.
I would like to understand what is the difference between the actions of type J2EE and UME. I dont want to create a seperate project for this UME permission. I want to have this in the same webdynpro project. is it possible ? Can you please help me?
REgards,
LAkxman