Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 73712 invoked from network); 14 Oct 2009 13:30:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Oct 2009 13:30:55 -0000 Received: (qmail 64131 invoked by uid 500); 14 Oct 2009 13:30:55 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 64050 invoked by uid 500); 14 Oct 2009 13:30:55 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 64042 invoked by uid 99); 14 Oct 2009 13:30:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 13:30:54 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 14 Oct 2009 13:30:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1208B234C045 for ; Wed, 14 Oct 2009 06:30:32 -0700 (PDT) Message-ID: <937445893.1255527032058.JavaMail.jira@brutus> Date: Wed, 14 Oct 2009 06:30:32 -0700 (PDT) From: "Felix Meschberger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2355) Support easy pre-authenticated login In-Reply-To: <1322554919.1255502491470.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved JCR-2355. ------------------------------------ Resolution: Fixed After having received the ok from Angela, I commit this patch in Rev. 825125. > Support easy pre-authenticated login > ------------------------------------ > > Key: JCR-2355 > URL: https://issues.apache.org/jira/browse/JCR-2355 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: 2.0-alpha11 > Reporter: Felix Meschberger > Fix For: 2.0-alpha12 > > Attachments: JCR-2355.patch > > > Some applications authenticate users themselves and just need to access the repository on behalf of these pre-authenticated users. > Examples of such pre-authentications include SSO solutions or web applications using a web-based authentication protocol not easily implementable in a JAAS LoginModule, for example OpenID or similar. > In such situations a password may not be provided in SimpleCredentials and thus regular login with user name and password is not possible. > Therefore I propose the enhancement of the AbstractLoginModule to allow for setting a specific attribute in the SimpleCredentials attribute map. If this attribute is set, authentication and login succeeds and a session for the user named in the SimpleCredentials is created. > As a starter we might just check for the presence of the attribute. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.