cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization of Web Dynpro application

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Ayyapparaj,

thanks for the hint. Unfortunately I'm not able to select any Visual Composer application there. I just can configure business objects of CAF applications.

Regards,

Kevin

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

thank you very much for your answer. I guess you are refering to settings that have to be done within the Developer Studio? Do you know how to this with Visual Composer 7.1 applications, is it possible to manage authorization using the NetWeaver Administrator?

Regards,

Kevin