Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 81946 invoked from network); 27 Feb 2007 15:09:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2007 15:09:45 -0000 Received: (qmail 75235 invoked by uid 500); 27 Feb 2007 15:09:53 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 75209 invoked by uid 500); 27 Feb 2007 15:09:53 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 75198 invoked by uid 99); 27 Feb 2007 15:09:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 07:09:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [212.79.178.30] (HELO ikarus.tarent.de) (212.79.178.30) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 07:09:41 -0800 Received: from localhost (localhost [127.0.0.1]) by ikarus.tarent.de (Postfix) with ESMTP id 91EAA7F54D3 for ; Tue, 27 Feb 2007 16:09:14 +0100 (CET) Received: from ikarus.tarent.de ([127.0.0.1]) by localhost (ikarus.tarent.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29336-05 for ; Tue, 27 Feb 2007 16:09:04 +0100 (CET) Received: from [192.168.165.160] (unknown [192.168.165.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ikarus.tarent.de (Postfix) with ESMTP id 74B527F471C for ; Tue, 27 Feb 2007 16:09:02 +0100 (CET) Message-ID: <45E44998.5060300@tarent.de> Date: Tue, 27 Feb 2007 16:09:12 +0100 From: David Goemans User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: continuum-dev@maven.apache.org Subject: Using LDAP for authentication X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Auf Viren geprueft auf tarent.de X-Virus-Checked: Checked by ClamAV on apache.org Hi, I want to use LDAP to authenticate on Continuum. I tried to write a own RBAC-Manager and wanted to configure it in the file "components.xml" of the subproject continuum-security as follow: org.codehaus.plexus.security.rbac.RBACManager cached org.codehaus.plexus.security.authorization.rbac.store.cached.CachedRbacManager CachedRbacManager is a wrapped RBACManager with caching. org.codehaus.plexus.security.rbac.RBACManager ldap rbacImpl org.codehaus.plexus.ehcache.EhcacheComponent operations operationsCache org.codehaus.plexus.ehcache.EhcacheComponent permissions permissionsCache org.codehaus.plexus.ehcache.EhcacheComponent resources resourcesCache org.codehaus.plexus.ehcache.EhcacheComponent roles rolesCache org.codehaus.plexus.ehcache.EhcacheComponent userAssignments userAssignmentsCache org.codehaus.plexus.ehcache.EhcacheComponent userPermissions userPermissionsCache org.codehaus.plexus.security.rbac.RBACManager ldap "my implementation" JdoRbacManager: org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool jdo org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoTool JdoTool - RBAC JDO Tools. org.codehaus.plexus.jdo.JdoFactory users jdoFactory The continuum uses now my implementation, but no roles, permissions, etc are defined. How can I configure the continuum roles, permissions, etc in the components.xml-file. My implementation extends the "org.codehaus.plexus.security.authorization.rbac.store.jdo.JdoRbacManager", because I only want to authenticate on LDAP if the user isn't saved in the Database. greetz David