Skip to Content
author's profile photo Former Member
Former Member

Mapping UME Roles to J2EE Engine Security Roles

Hi all,

is there a way to map the roles defined in UME which are used in a Web Dynpro application to those declared as part of an EJB descriptor?

Any help is highly appreciated.

Regards,

Sebastian

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2004 at 05:56 PM

    I too am very interested in this topic. Most of the SAP security documentation for J2EE web/ejb teir refers only to the sun spec.

    With the SAP's UME in place there must be something in the works that allows J2EE access to authenticate/authorize based on the users in this store. If they do this it would be very powerful for use J2EE developers.

    Jason

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2004 at 10:13 AM

    Hi Sebastian,

    yes, it is possible to do such mapping. And here how it works:

    1. define security roles in the ejb-jar.xml within the <security-role>. For example:

    <security-role>

    <role-name>test</role-name>

    </security-role>

    2. then you map the roles those roles to server security roles using the <security-role-map> tag of the ejb-j2ee-engine.xml descriptor.

    <security-permission>

    <security-role-map>

    <role-name>test</role-name>

    <server-role-name>myUMErole</server-role-name>

    </security-role-map>

    </security-permission>

    the myUMErole must be defined in the UME!

    Does this answer your question?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.