aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Linking security role for deployment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Linking security role for deployment" Watch "Linking security role for deployment" New topic
Author

Linking security role for deployment

Jarrod Felino
Greenhorn

Joined: Nov 15, 2008
Posts: 26
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

Joined: Apr 26, 2005
Posts: 516
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

Joined: Nov 19, 2006
Posts: 133

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?


SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCEA/OCMJEA 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Linking security role for deployment