• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linking security role for deployment

 
Jarrod Felino
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • 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.

 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • 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 ]
 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic