cancel
Showing results for 
Search instead for 
Did you mean: 

user-role mapping in web.xml

Former Member
0 Kudos

Hi all,

    in the tomcat, I can map users to roles using the <tomcat-users/> element, I didn't find something similar in the web.xml in the netweaver studio. How can I achieve this? I even don't see how to create a user/password pair.

thanks and Regards,

Tom

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks all, I have managed to make it work.

Tom

Former Member
0 Kudos

Hello Tom,

Benny is right, you can do those settings in the Application Server.

There is also a way to do it in the IDE.

If it is an EJB project, go to the assembly project which includes the EJB, open its node, double-click on the ejb-jar.xml, drill in the upper right window of the IDE to your EJB and open its node. Now you can select different folders and get the possibility to enter roles, map those to users and so on.

If you are working on a Web-Project you should have somewhere a node called web-j2ee-engine.xml or similar. Here you can do the same things around roles and users as described above for EJBs.

Cheers

Ivo

Former Member
0 Kudos

Hi Ivo,

Just a question - can you give me some guidelines how can we design our roles in our J2EE applications so we can after that easily map them to the UME roles. I couldn't find information about the predefined roles in UME and how these can be used.

Regards,

Metodi

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tom,

This is not work of the Netweaver studio. If you check in your sap directory tree, you will find the /admin directory, that contains a go.bat file. This will start the Administrator GUI. From there on I guess you need to heavily use tha manuals.

To define such on the application side, this works as usual with the web.xml.

Regards,

Benny