Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2003, 04:21 AM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Principals and EJB container

Hi, we're trying to build a security model for our J2EE application. I'm studying that, once a client has been associated with a Principal object, any call to any method in the Remote Interface results in an implicit propagation on the Principal object to the EJB Server. Few questions:

1) Once a client is associated with a Principal, is it true that it's enough to call the getCallerPrincipal() method on the Context object in order to have the principal object?

2) If we declare security-roles in the deployment descriptor, will the container intercept each monitored call against the Principal object implicitly propagated with the caller?

Thanks for any help,

Marco

Marco Tedone
Jemos Founder
 
Old December 14th, 2004, 09:47 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Did you find the answer to the question posted?

Appreciate if you can email me the same as well..
Quote:
quote:Originally posted by mtedone
 Hi, we're trying to build a security model for our J2EE application. I'm studying that, once a client has been associated with a Principal object, any call to any method in the Remote Interface results in an implicit propagation on the Principal object to the EJB Server. Few questions:

1) Once a client is associated with a Principal, is it true that it's enough to call the getCallerPrincipal() method on the Context object in order to have the principal object?

2) If we declare security-roles in the deployment descriptor, will the container intercept each monitored call against the Principal object implicitly propagated with the caller?

Thanks for any help,

Marco

Marco Tedone
Jemos Founder





Similar Threads
Thread Thread Starter Forum Replies Last Post
what the heck is a container?[:D] lcsgeek General .NET 0 January 24th, 2005 12:56 PM
Name 'Container' is not declared. surendran ASP.NET 1.0 and 1.1 Professional 1 August 17th, 2004 10:33 AM
Form Container shortynelson General .NET 1 August 13th, 2004 01:27 PM
Creatin Threads in WAS 5 EJB Container waswas J2EE 0 November 5th, 2003 10:12 AM
Kickstart non-EJB object in J2EE container Waldo Nell J2EE 0 August 31st, 2003 05:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.