This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

who is responsible to define role-link

 
mark ken
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
vasu venki
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It should be application assembler.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic