• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Linking security role for deployment

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically I have defined 2 roles which are teacher and student. Now let's say I have 2 different users in my database: Bob who has the role of 'client' and Charlie who has the role of 'tutor'. What are the different ways that I can link these roles together. I want to link student to client and teacher to tutor. I am not sure which of the following are valid:

1. Use container specific tools to link the roles
2. Use role-link for each role in the assembly-descriptor
3. Use the role-link at a bean level

Also for the valid choices which role would do them? My guess would be:
1. Deployer
2. Application Assembler
3. Bean Deployer

However I know that these responsibilities can overlap.

 
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For me,

it would be something like that:

1. Use container specific tools to link the roles
2. Use role-link for each role in the assembly-descriptor
3. Use the role-link at a bean level

1. Deployer.
2. Application Assembler, Bean Deployer (in order of importance).
3. Bean Deployer, Application Assembler (in order of importance).

Both Application Assembler and Bean deployer work with metadata annotation and/or deployment descriptor.

Regards,
Alex
[ December 23, 2008: Message edited by: Alex Belisle Turcot ]
 
Ranch Hand
Posts: 133
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Alex Belisle Turcot wrote:
1. Deployer.
2. Application Assembler, Bean Deployer (in order of importance).
3. Bean Deployer, Application Assembler (in order of importance).



What's the difference between deployer and bean deployer?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic