About Question enthuware.oce-ejbd.v6.2.577 :

Moderator: admin

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.577 :

Post by himaiMinh »

For option 3's explanation: <security-identity> is specified by application assembler.
Can the bean provider specify <security-identity> ?
The bean provider can use @RunAs("...") to specify the security identity in the code. @RunAs is the same as <security-identity> 's <run-as> element.

So, I believe the bean provider can use either @RunAs or the <run-as> to specify the identity.

admin
Site Admin
Posts: 10078
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.577 :

Post by admin »

Yes, the bean provider can use @RunAs but the option specifically asks about the <security-identity> element.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.577 :

Post by himaiMinh »

Hi Paul. Thanks for your clarification.
So, bean provider can also use <security-identity> to define security identity with a deployment descriptor.

In the exam, we need to know the security roles of bean provider, deployer and application assembler.
Based on JSR 318, the bean provider can do the same tasks as the application assembler.

admin
Site Admin
Posts: 10078
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.577 :

Post by admin »

You are talking about bean provider but the question is asking about Deployer.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests