I presume you're talking about Tomcat and it's Realm implementation
for container managed security?

You cannot access it directly (although it wouldn't help you much if
you could, because it has no APIs for user management) -- it is loaded
by a class loader visible only to the servlet container.  What you can
do, however, is establish your own DAO that talks to the same database
that Tomcat is talking to ... that way, a new user that you add
through your admin function is immediately available for Tomcat to use
for authentication.

Craig


On Wed, 27 Oct 2004 12:43:15 +1000, Ben <[EMAIL PROTECTED]> wrote:
> Hi
> 
> How do I obtain the Realm context or get the current realm in an
> ActionForm? I would like to sign in the users after they have signed
> up using my RegistrationActionForm.
> 
> Thanks,
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to