httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] design of authentication pages in http server
Date Tue, 27 Mar 2012 08:41:08 GMT
On Mon, Mar 26, 2012 at 8:42 PM, Sivaraman V <avnsiva@gmail.com> wrote:
>
> Dear All,
>
> I am trying to create a java web application in which the authentication
> part should be handled purely by apache http server.
>
> On opening the front page of the application, the content should be served
> from the http server which should have a form for accepting username and
> password.
>
> The http server should have a connection the LDAP server on which the user
> is authenticated against the password.
>
> If the authentication is successful, then the URL is redirected to access
> the target servlet on the java application server(JBoss).
>
> Please advice on how to get the authentication functionality implemented in
> apache http server.
>
> My intention is that the java web appllication in JBOSS will only implement
> the business functionalites whereas tasks like authentication should be
> offloaded to apache http server.

You can do this with httpd 2.4 series, using mod_auth_form and mod_authnz_ldap.

http://httpd.apache.org/docs/2.4/mod/mod_auth_form.html#authformprovider

Cheers

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message