You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by am...@apache.org on 2003/11/10 21:00:36 UTC
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans mbeans-descriptors.xml
amyroh 2003/11/10 12:00:35
Modified: catalina/src/share/org/apache/catalina/mbeans
mbeans-descriptors.xml
Log:
Add MBean description for DatasourceRealm - fixes bugzilla 23853.
Modified patch from Kyle VanderBeek<ky...@yaga.com>
Revision Changes Path
1.78 +53 -1 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml
Index: mbeans-descriptors.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- mbeans-descriptors.xml 19 Aug 2003 00:43:09 -0000 1.77
+++ mbeans-descriptors.xml 10 Nov 2003 20:00:35 -0000 1.78
@@ -334,6 +334,58 @@
</mbean>
+ <mbean name="DataSourceRealm"
+ className="org.apache.catalina.mbeans.ClassNameMBean"
+ description="Implementation of Realm that works with any JNDI configured DataSource"
+ domain="Catalina"
+ group="Realm"
+ type="org.apache.catalina.realm.DataSourceRealm">
+
+ <attribute name="dataSourceName"
+ description="The JNDI named JDBC DataSource for your database"
+ type="java.lang.String"/>
+
+ <attribute name="debug"
+ description="The debugging detail level for this component"
+ type="int"/>
+
+ <attribute name="digest"
+ description="Digest algorithm used in storing passwords in a
+ non-plaintext format"
+ type="java.lang.String"/>
+
+ <attribute name="roleNameCol"
+ description="The column in the user role table that names a role"
+ type="java.lang.String"/>
+
+ <attribute name="userCredCol"
+ description="The column in the user table that holds the user's
+ credentials"
+ type="java.lang.String"/>
+
+ <attribute name="userNameCol"
+ description="The column in the user table that holds the user's
+ username"
+ type="java.lang.String"/>
+
+ <attribute name="userRoleTable"
+ description="The table that holds the relation between user's and
+ roles"
+ type="java.lang.String"/>
+
+ <attribute name="userTable"
+ description="The table that holds user data"
+ type="java.lang.String"/>
+
+
+ <operation name="start" description="Start" impact="ACTION" returnType="void" />
+ <operation name="stop" description="Stop" impact="ACTION" returnType="void" />
+ <operation name="init" description="Init" impact="ACTION" returnType="void" />
+ <operation name="destroy" description="Destroy" impact="ACTION" returnType="void" />
+
+ </mbean>
+
+
<mbean name="DefaultContext"
className="org.apache.catalina.mbeans.DefaultContextMBean"
description="Used to store the default configuration a Host will use
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org