Authentication Classes

UserGroupRoleRealm

This class is used to authenticate users and place the user’s available roles and group into the session. It uses values set in server.xml

It’s in the package package org.apache.catalina.realm.

SQL for role:

/*SELECT role

FROM user_group_role,user_group_membership, mail.accountuser

WHERE mail.accountuser.username = ?

AND user_group_membership.id = mail.accountuser.username

AND user_group_membership.group_id = user_group_role.group_id;

*/

UserAdminAction

This class provides the main listing of users and enables administrator to assign the user’s group. See the class for more info.

UserDAO

This class provides database functions used in UserAdminAction. See the class for more info.