Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04B3D9AC8 for ; Tue, 27 Mar 2012 08:41:44 +0000 (UTC) Received: (qmail 21883 invoked by uid 500); 27 Mar 2012 08:41:41 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 21605 invoked by uid 500); 27 Mar 2012 08:41:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 21576 invoked by uid 99); 27 Mar 2012 08:41:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 08:41:35 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tevans.uk@googlemail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2012 08:41:29 +0000 Received: by vcbfl11 with SMTP id fl11so6988427vcb.18 for ; Tue, 27 Mar 2012 01:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nfKVK8StuF6I2sFX/R2G6SsOOxyuBlNEI/WuczblWRw=; b=xUyCeHsDcZOgX+xn06aewLPSbCp5Rom4gwnTTnnyh/HDHZgkUMgD+Jp7aUKzd0AR80 nEU2UIde021EXhbh/PlPIIhCan6mjNwdjacJKkBQaSTEA70mMG3T+ztzereoy7SgLt/e bQgIRcbnU6hssbrDti88bvvhI9G/gAYZaZSXatf9zWxfjA14hldKvSooAXKeZde4haIB Cefy0XxMOmpL7XpQuiB27Qeyjdf2MZcReQ898nZTz/jQ1Sptwy/M6DXDrqOzFXB9fOPe sQUcGkMG8fen47F1QQbY//Xg90yf0Oah7dMLHriktHneOD5fyaOflcSO1p6Pvxp7BjRT T04Q== MIME-Version: 1.0 Received: by 10.220.116.68 with SMTP id l4mr11740710vcq.4.1332837668198; Tue, 27 Mar 2012 01:41:08 -0700 (PDT) Received: by 10.52.161.71 with HTTP; Tue, 27 Mar 2012 01:41:08 -0700 (PDT) In-Reply-To: <33544761.post@talk.nabble.com> References: <33544761.post@talk.nabble.com> Date: Tue, 27 Mar 2012 09:41:08 +0100 Message-ID: From: Tom Evans To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [users@httpd] design of authentication pages in http server On Mon, Mar 26, 2012 at 8:42 PM, Sivaraman V 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