Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 93477 invoked from network); 2 Mar 2009 21:35:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2009 21:35:19 -0000 Received: (qmail 22184 invoked by uid 500); 2 Mar 2009 21:35:19 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 22173 invoked by uid 500); 2 Mar 2009 21:35:19 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 22162 invoked by uid 99); 2 Mar 2009 21:35:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 13:35:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2009 21:35:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 405DC234C4B3 for ; Mon, 2 Mar 2009 13:34:56 -0800 (PST) Message-ID: <1916588223.1236029696260.JavaMail.jira@brutus> Date: Mon, 2 Mar 2009 13:34:56 -0800 (PST) From: "Emmanuel Hugonnet (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-514) Custom Login Module not called at login In-Reply-To: <1525468063.1236005156079.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678120#action_12678120 ] Emmanuel Hugonnet commented on JSPWIKI-514: ------------------------------------------- Hi, I am trying to integrate JSPWiki within our current application which uses a custom authentication mechanism, the current user and his roles are stored in HttpSession (quite classical). How can I access the HttpSession from JSPWiki own authentication mechanism as I don't get a CallbackHandler with a reference to the web context as with the container-managed authentication process ? Am I missing something ? Emmanuel > Custom Login Module not called at login > --------------------------------------- > > Key: JSPWIKI-514 > URL: https://issues.apache.org/jira/browse/JSPWIKI-514 > Project: JSPWiki > Issue Type: Bug > Components: Authentication&Authorization > Affects Versions: 2.8.1 > Reporter: Emmanuel Hugonnet > Assignee: Andrew Jaquith > Attachments: AuthenticationManager.patch > > > The AuthenticationManager doesn't call the custom LoginModule when trying to log the user in. So our custom login module which uses a HttpSession attribute to assert that the user is logged in can't be called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.