You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Dettling, Ingo" <In...@drkw.com> on 2002/03/07 17:54:31 UTC

Custom Realm implementations

Hi folks,

I am a member of a developer team at Dresdner Kleinwort Wasserstein and one
of my tasks was to develop a realm for accessing a LDAP server which stores
its data in a way that is not conform to your JNDIRealm. No problem so far.

The realm's authenticate function has to return a new instance of
GenericPrincipal, but GenericPrincipal is not a public class. This forced me
to put our custom realm in package org.apache.catalina.realm, allthough this
is a very special class that does not make sense to rest of the world and
therefore it should not reside in one of Tomcat's packages.

If GenericPrincipal would be public I could use a package name that makes it
obvious that our realm is a very custom one.
By the way, because of what I had to do JBuilder gets into problems, too.
Question: Do you see a chance to make GenericPrincipal a public class in the
next release?

Regards,
Ingo Dettling 


If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>