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
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
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?
&
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