adding security role to ejb-jar.xml
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Wednesday, March 20, 2002 07:27 AM

Hello all,

can you tell me where EJBDoclet gets the
security roles he enters in ejb-jar.xml.

Could it be that it works when i have defined @ejb:permission role="Rolename" in my Bean ?? Or do i have to configure another file ??



Re: adding security role to ejb-jar.xml

Posted By:   Ara_Abrahamian  
Posted On:   Thursday, March 21, 2002 07:11 AM

Yup, you don't have to configure another file. Just define ejb:persmissio role-name="blabla" and elements are generated by xdoclet for you. Basically it iterates over all ejb:perission class and method level tags and ejb:finder role-name="blabla" and ejb:pk role-name="blabla" tags and gathers the list of all role-names and enters them into the generated ejb-jar.xml file.


About | Sitemap | Contact