on 04-22-2008 8:29 AM
Hi!
How is it possible to restrict authorization for a Web Dynpro application which is deployed in a WAS but not part of a portal? In particular, I want the application to be accessible only by a certain user or by users with a certain role.
Best regards,
Kevin
Hi Kevin,
You can do by
1. Go to caf using http://<hostname>:<portno>/caf
2. Go to authorization assingment
Here you can assign roles
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Enable the sap.authentication application property for the application.
To do this
Go to application properties
new
Predefined
browse
select Authentication
set the value to true.
Following method will help you to know whether user belongs to a role or not
IUser user = WDClientUser.getCurrentUser().getSAPUser();
user.isMemberOfRole(arg0, arg1);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.