Hello folks! I have a strong desire to have a number of attributes held about a User in my system, and to make some of these attributes available to my EJBs. My initial thought was to have EJBContext.getCallerPrincipal() return an instance of my User class (that implements the java.security.Principal interface); then I was wondering, how do I make my app server return my implementation of the Principal interface, as opposed to its own. As I am using Weblogic, I have considered implementing my own custom Realm, which will return my custom User, but I don't know whether that gets me anywhere? Usage of Weblogic aside, I am wondering what is the app server independent way of passing custom user attributes to an EJB is anyway (preferrably WITHOUT making them arguments of the bean's remote interface)? Regards, James W. -------------------------------------------------------------------------- To read more about the Australian smart card industry visit http://www.brw.com.au/stories/20000804/6630.htm or http://www.cardsetc.com/ -------------------------------------------------------------------------- This e-mail is from Cards Etc Pty Ltd (ACN: 069 533 302). It may contain privileged and confidential information. It is intended for the named recipient(s) only. If you are not an intended recipient, please notify us immediately by reply e-mail or by phone on +61 2 9212 7773 & delete this e-mail from your system. -------------------------------------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
