tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bragg, Casey" <>
Subject Adding new realms : Assigning a name
Date Mon, 08 Jan 2001 20:02:30 GMT
In Tomcat 3.2...

How does the auth-method name "JDBCRealm" get associated with the JDBCRealm

Is the list of available realm names derived from the class name (i.e. the
name of any class on the class path that extends BaseInterceptor is a valid
realm name?)

In short, provided I have a class called XYZRealm that extends
BaseInterceptor on my classpath, does anything need to be done to associate
the auth-method name "XYZRealm" with the class XYZRealm?  Is the following
configuration all that is needed?

... in server.xml
        <RequestInterceptor className="mypackage.XYZRealm" />

... in a protected webapp's web.xml (Here is the question... 
     <realm-name>Example XYZ-Based Authentication Area</realm-name>

Casey Bragg - Software Engineer
Allegiance Telecom, Inc.  Dallas, TX
469-259-2702 -

View raw message