RE: how to set role for JAASRealm

2007-03-07 Thread Page, Steve C.
Shahab- I am hardly an expert, but I have just created a custom principal. Here is what I learned. The RealmBase class is responsible for creating principals for the context. Normally, this is just a Principal class. Since I extended Principal, I also needed to extend BaseRealm. The realm class m

RE: What is the proper location for custom realm and principle classes?

2007-03-02 Thread Page, Steve C.
PROTECTED] -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 6:13 PM To: Tomcat Users List Subject: RE: What is the proper location for custom realm and principle classes? > From: Page, Steve C. [mailto:[EMAIL PROTECTED] > Subject: RE: Wh

RE: What is the proper location for custom realm and principle classes?

2007-03-02 Thread Page, Steve C.
lyst/Developer BFDP Information Technology (317) 818-8685 [EMAIL PROTECTED] -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 5:46 PM To: Tomcat Users List Subject: RE: What is the proper location for custom realm and principle classes? &

What is the proper location for custom realm and principle classes?

2007-03-02 Thread Page, Steve C.
All- I have this working, but I want to make sure I am following best practices. I created customer realm and principle classes. If I left the classes in WEB-INF/classes, I received a ClassNotFoundException on the realm class. If I put the classes in common/classes, I received a ClassNotFound