File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes who is responsible to define role-link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "who is responsible to define role-link" Watch "who is responsible to define role-link" New topic
Author

who is responsible to define role-link

mark ken
Ranch Hand

Joined: Sep 01, 2004
Posts: 47
please read following code, it say that deployer add role-link in ejb-jar file. But in my book, it say that assembler should define role-link.
which one is right? thank you.
<enterprise-beans>
<session>
<ejb-name>BonusCalc</ejb-name>
...
<security-role-ref>
<description>system admins have higher bonus rates.</description>
<role-name>admin</role-name> <-- This is given by the bean provider.
<!-- deployer adds the following line because she knows that the role name of system administrators is configured in her system as 'sysadmin';
<role-link>sysadmin</role-link>
</security-role-ref>
</session>
...
</enterprise-beans>


SCJP1.2 ,SCJD1.5 , SCBCD1.3 ,SCWCD1.4
vasu venki
Greenhorn

Joined: Oct 05, 2005
Posts: 19
It should be application assembler.


SCJP:70%<br />SCWCD:86%<br />SCBCD:90%<br />scdjws:98%<br />OCA<br />Nothing is impossible.Try and try until you achieve it.<br /> <br />Interstesigning and developing web Components
 
wood burning stoves
 
subject: who is responsible to define role-link
 
Similar Threads
ejb-ref question
security DD tags..
Deploying Session Bean
Cleared SCBCD last week.. some notes
Security Role