Skip to Content
avatar image
Former Member

user-role mapping in web.xml

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Nov 21, 2003 at 04:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 21, 2003 at 05:51 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Nov 24, 2003 at 12:54 PM

    Thanks all, I have managed to make it work.

    Tom

    Add comment
    10|10000 characters needed characters exceeded