Thank you.  That gives me a means of finding out who the server has logged
in, but I would really like to perform the login via an HTML form.  In doing
it that way, how can I collect the username and password from a form-submit,
and then give it over to the server for authentication?

Also, when setting up the UserManager configuration in application.xml I am
using the following (until I can figure out how to get form-based
authentication working):

        <user-manager class="com.evermind.sql.DataSourceUserManager">
                <init-param name="dataSource" value="/jdbc/DefaultDS" />
                <init-param name="table" value="members" />
                <init-param name="usernameField" value="email" />
                <init-param name="passwordField" value="password" />
                <init-param name="defaultGroups" value="users,guests,administrators" />
        </user-manager>

and I receive the following error when starting the server:

"Unknown user-manager subtag: init-param"

I've also tried the "<init-param><param-value><param-name>" method, but
received the same error.

Any ideas on the correct method?

Jeremy Pierson

-----Original Message-----
From: Noah Nordrum [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 24, 2000 2:23 PM
To: Jeremy Pierson
Subject: Re: User Authentication and Session Beans


application.getUserPrincipal() is what you are looking for.

Noah Nordrum
[EMAIL PROTECTED]
Hyperride Technologies

Reply via email to