Basic HTML version of Foils prepared July 6 99

Foil 78 Security - IV

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


javax.ejb.EJBContext interface supports two methods:
  • getCallerPrincipal() returns the name of the principal associated with the caller.
  • isCallerInRole() returns whether the principal associated with the caller is in the specified role.
This approach allows beans implementation to enforce further security restrictions. Assume that all the sales personnel has a permission to execute the same method but each one of them might have different limits. Defining a sub-roles based on this functional difference explodes the number of roles.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999