users@glassfish.java.net

Integrated user management using different Realms

From: <glassfish_at_javadesktop.org>
Date: Thu, 27 Mar 2008 03:08:39 PST

Hi There,

Does anyone know if there is a transparent way of using realms for user management of a web application.

I have developed a web application which uses forms authentication. If the user has an admin role assigned to him/her then they will be permitted to manage user account via the web application. Now the problem I have is that this web application will be distributed to different clients which will most likely all have custom realm classes derived from AppservRealm so that they can connect to their own proprietary user base. I want to avoid programming different user management models for each realm within the application.

Is there a standard way of doing this, or will I have to make a class that extends AppservRealm which adds functions for user managment (add, delete, etc), and have all my clients base their realm class off mine?

Thanks
[Message sent by forum member 'ccob' (ccob)]

http://forums.java.net/jive/thread.jspa?messageID=266170