• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

who is responsible to define role-link

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should be application assembler.
 
reply
    Bookmark Topic Watch Topic
  • New Topic