Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 32403 invoked from network); 16 Aug 2007 06:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Aug 2007 06:38:43 -0000 Received: (qmail 247 invoked by uid 500); 16 Aug 2007 06:38:40 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 216 invoked by uid 500); 16 Aug 2007 06:38:40 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 206 invoked by uid 99); 16 Aug 2007 06:38:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2007 23:38:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paulex.yang@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2007 06:38:37 +0000 Received: by rv-out-0910.google.com with SMTP id k20so148484rvb for ; Wed, 15 Aug 2007 23:38:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=X4c6EwWyOGdPdcSU0M0tUH4yOxFKESLCBXAK4MLS9zuX5hj90s1uZ9rfzGrC3IrMthxAJIcmzhdPCqacsxXvoZTtuu/S/z5eUTLCCE2E2MQ+HH24N1aiJ/YgSf4aVHi5F1buSkCyLDot3P1r8SvA0cJ4iSfh343k0Mc/U5t8MFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TN0KcPfibAZ5q5qbXDqeK80f3nFNPn9uX1KdbkwvN4GaO5o3O+ZjUQslSDNrukK9CgMdMmqFb2GbdrA2sH/MT7gs/0FNqSgNEO7hJxcErQhnTjM4t19UkukKAAIJi03Mdw19QwhdusO0G1AUbyabb3tn+yTm5beRNVWSObKVdF8= Received: by 10.140.143.9 with SMTP id q9mr563649rvd.1187246296108; Wed, 15 Aug 2007 23:38:16 -0700 (PDT) Received: by 10.141.42.18 with HTTP; Wed, 15 Aug 2007 23:38:15 -0700 (PDT) Message-ID: Date: Thu, 16 Aug 2007 14:38:15 +0800 From: "Yang Paulex" To: dev@harmony.apache.org Subject: Re: [classlib][auth]Harmony lacks JGSS provider. In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30558_19501018.1187246295849" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30558_19501018.1187246295849 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/8/16, Leo Li : > > On 8/14/07, Alexey Varlamov wrote: > > > > 2007/8/14, Leo Li : > > > Hi, all > > > Since Java 1.4.2, RI introduced the package of org.ietf.jgss which > > > provides a framework to allows application developers to make use of > > > security services like authentication, data integrity and data > > > confidentiality from a variety of underlying security mechanisms like > > > Kerberos, using a unified API. And RI also provides an default > provider, > > > sun.security.jgss.SunProvider, which contains the implementation for > > such > > > interfaces as org.ietf.jgss.GSSManager, org.ietf.jgss.GSSName, > > org.ietf.jgss > > > .GSSContext and etc. > > > Current Harmony's classlib actually implemented the framework in > > > org.ietf.jgss package, while lacks an implementation for JGSS > provider. > > And > > > the property to denote the provider, "jgss.spi.manager", in harmony's > > > java.security file is still a blank. > > > Is it possible to get support from other open source project? From > > the > > > website of bouncycastle, there is no related feature of jgss if I > have > > not > > > missed something. > > > > Hi Leo, > > > > Indeed we better integrate some exisitng library, otherwise have to > > implement it ourselves. The last option does not look feasible at the > > moment, and AFAICT we have not exhausted the possibilities with the > > first one ;) > > > Agree. It is no need to reinvent a wheel if there is one on our > side.:) > > With a bit of googling I found an open source JGSS implementation [1] > > which appears to be AL-compatible [2]. So hereby I call for volunteers > > to explore this particular possibility - one need to check if the impl > > is really suitable for Harmony needs and get in touch with project > > mantainers about ways of integration. > > > > [1] > > > http://www.cogkit.org/release/4_1_2/api/jglobus/org/globus/gsi/gssapi/package-summary.html > > [2] http://www.globus.org/toolkit/legal/4.0/licenses4.html#COG > > > Thanks for your detailed information. I would like to seek the > feasibility to make use of cogkit. Just from document[1], it provides an > implementation. I will try to merge it with harmony to see whether it > works > and try to seperate the smallest closure of classes as a JGSS provider. > About license, as you said, [2] claims that cog-jglobus.jar which > contains the classes for JGSS provider, is under a license very similar to > Apache License V2.0. But I am not an expert in this area and not sure > whether we shall negotiate with them for explicitly licensing the binary > module under Apache License. > Furthermore, after a preliminary study, I find that the cogkit JGSS > provider depends at least another puretls.jar, which is provided by > claymoresystems. Although puretls claims that it is under a Berkley style > license and it seems that tomcat also make use of this module and I do not > think it might constitute an obstacle, it really deserves for us to make > its > license clear. Is there somebody familiar with it? We can get Foudantion's help on IP related issues on legal discussion list - legal-discuss@apache.org. Or we can ask the authors of that project directly if they are OK to customize their implementation for Harmony project:), or if we can customize it ourselves and redistribute in Apache license. It's also helpful to understand their current compatibility with Java SE and other relevant standard as well as their roadmap. And at least some customization on cogkit is needed since it depends on > org.apache.commons.logging to record some logging information while I > think > it is not needed on harmony's usage. > The same issue is actually applicable to Kerberos-based JAAS > > framework; we have very basic impl of it, and it would be nice to look > > out & integrate some advanced provider. > > > > -- > > Alexey > > > > > Or else maybe we have to implement it ourselves? > > > > > > Good luck! > > > -- > > > Leo Li > > > China Software Development Lab, IBM > > > > > > > > > -- > Leo Li > China Software Development Lab, IBM > -- Paulex Yang China Software Development laboratory IBM ------=_Part_30558_19501018.1187246295849--