Re: About Question enthuware.oce-ejbd.v6.2.577 :
Posted: Mon Apr 27, 2015 10:43 am
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.
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.