EJB security and global role

G

gk

whats the use of <global-role> for EJB security ?

Here is the documentation

http://download.oracle.com/docs/cd/E13222_01/wls/docs81b/security/ejb_client.html

I don't understand the benefit of using global role.


Without <global-role>
*************************

weblogic-ejb-jar.xml entries:

<security-role-assignment>
<role-name>manager</role-name>
<principal-name>al</principal-name>
<principal-name>george</principal-name>
<principal-name>ralph</principal-name>
</security-role-assignment>



With <global-role>
*****************************
weblogic-ejb-jar.xml entries:
<security-role-assignment> <role-name>manager</role-name>
<global-role/>
...
</security-role-assignment>

I can see that we have removed <principal-name> in the later and
introduced a tag called <global-role/> . But what benefit we will
get out of it ? I'm not yet clear *why I should do it and when* ?
whats the benefit ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top