Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.webapp.admin.users
Class UserUtils  view UserUtils download UserUtils.java

java.lang.Object
  extended byorg.apache.webapp.admin.users.UserUtils

public class UserUtils
extends java.lang.Object

Shared utility methods for the user database administration module.

Since:
4.1
Version:
$Revision: 302726 $ $Date: 2004-02-27 09:59:07 -0500 (Fri, 27 Feb 2004) $

Constructor Summary
UserUtils()
           
 
Method Summary
static GroupsForm getGroupsForm(javax.management.MBeanServer mserver, java.lang.String databaseName)
          Construct and return a GroupsForm identifying all currently defined groups in the specified user database.
static RolesForm getRolesForm(javax.management.MBeanServer mserver, java.lang.String databaseName)
          Construct and return a RolesForm identifying all currently defined roles in the specified user database.
static UsersForm getUsersForm(javax.management.MBeanServer mserver, java.lang.String databaseName)
          Construct and return a UsersForm identifying all currently defined users in the specified user database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserUtils

public UserUtils()
Method Detail

getGroupsForm

public static GroupsForm getGroupsForm(javax.management.MBeanServer mserver,
                                       java.lang.String databaseName)
                                throws java.lang.Exception
Construct and return a GroupsForm identifying all currently defined groups in the specified user database.


getRolesForm

public static RolesForm getRolesForm(javax.management.MBeanServer mserver,
                                     java.lang.String databaseName)
                              throws java.lang.Exception
Construct and return a RolesForm identifying all currently defined roles in the specified user database.


getUsersForm

public static UsersForm getUsersForm(javax.management.MBeanServer mserver,
                                     java.lang.String databaseName)
                              throws java.lang.Exception
Construct and return a UsersForm identifying all currently defined users in the specified user database.