Page 1 of 1

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

Posted: Mon Apr 27, 2015 10:43 am
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.

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

Posted: Mon Apr 27, 2015 7:55 pm
by admin
Yes, the bean provider can use @RunAs but the option specifically asks about the <security-identity> element.

HTH,
Paul.

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

Posted: Tue Apr 28, 2015 9:34 am
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.

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

Posted: Tue Apr 28, 2015 8:10 pm
by admin
You are talking about bean provider but the question is asking about Deployer.