on 05-10-2007 8:11 AM
Dear forumpeople,
Yesterday I finally succeeded with building a WebDynpro application with database access to Oracle.
My code to access the datasource is in the wdDoInit of a view. I'm not using EJB projects or something else.
My questions:
Can I secure this application for multiple roles (Employee, Administrator etc)?
Is it necessary or recommended to use EJB projects?
Is it an option to use "WDClientUser.getCurrentUser()..." with several if statements as kind of access protecting?
Feel free to ask, also thanks for helping!
Regards, Adri
PS. I've seen the tutorial "Protecting access to the webdynpro Car Rental application..." (seems complicated..)
Hai,
Create a applicatioprorty Authentication=true, If the application is Embed as iview in Portal, you can assign this iview to set of Roles or User groups.
No need of Using EJBs, If your Application is having Issues like Synchronization ,etc.. you may go for EJBs.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's the tutorial I already indicated in my first post.
Problem is, they are using EJB projects, but are they really necessary to secure parts of an application?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But is it possible to assign roles inside the application?
Because I don't wanna make separate applications for Administrators and Employees.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.