Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-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 8147774C2 for ; Thu, 3 Nov 2011 23:41:01 +0000 (UTC) Received: (qmail 57787 invoked by uid 500); 3 Nov 2011 23:34:20 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 57761 invoked by uid 500); 3 Nov 2011 23:34:20 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Delivered-To: moderator for users@directory.apache.org Received: (qmail 18434 invoked by uid 99); 3 Nov 2011 23:04:56 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 3 Nov 2011 16:04:28 -0700 Message-ID: Subject: [ApacheDS] Kerberos server From: Jitendra Pandey To: users@directory.apache.org Content-Type: multipart/alternative; boundary=0016e68fa7524d7be404b0dc9cd7 X-Virus-Checked: Checked by ClamAV on apache.org --0016e68fa7524d7be404b0dc9cd7 Content-Type: text/plain; charset=ISO-8859-1 Hi, I want to embed kerberos servers (kdc and authentication servers) in my application. On the website I found code for embedding ldap server but not kerberos. I saw the code for starting kdc in some unit tests, but I am unable to add principals and passwords in the kdc via API. Could you please point me to an example code? Any pointers to code or documentation or hints will be greatly helpful. I intend to use a very simple setup, preferably storing all principals and passwords etc in memory. I thought I could use AvlPartition for that without any persisted files. If possible I want to avoid ldif files and prefer to add and remove principals and passwords via API. But I am unable to add principals via the API. regards jitendra --0016e68fa7524d7be404b0dc9cd7--