Ralf Utermann wrote:

> Hi all,
>
> we are just about to start a project using Struts;
> maybe I can get some hints on two things:
>
> - authentication:
>   In many services here we rely on DCE for authentication.
>   This is also done for Web-based cgi-apps with
>   Paul Henson's mod_auth_dce for Apache. Two questions:
>   - anybody knows of a DCE solution in the Java servlet/Jsp
>     environment?

I don't know of any off the top of my head.

>
>   - if I keep the setup with relying on this  Apache module
>     for authentication, what's the best method to get the
>     users name within the struts environment?

Doesn't the username show up as the value of request.getRemoteUser()?

>
>     What's the best method to organize access to different
>     actions based on the fact, that I don't need a password but
>     already have an authenticated user name from Apache?
>

For Tomcat, at least, the Apache connector passes on the authenticated username
as the value you receive via getRemoteUser().  This means you can base decisions
on this fact, because you receive the user identity on every request.

>
> - For JDBC connections and the  mysql/mm configuration, which
>   is the recommended open source connection pool solution?
>

A very simple connection pool was added to the Struts 1.0 code base last week,
which will work across any JDBC 2.0 compatible driver.  You configure it within
the struts-config.xml file.  Any connection pool implementation that implements
the javax.sql.DataSource interface (from the JDBC 2.0 standard extention API)
can be used instead, and still receive the benefit of automatic configuration
support.

The archives of this list contains pointers to various others.

>
> TIA, Ralf
> --
>         Ralf Utermann
>

Craig


Reply via email to