Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [es-dev] [External] : Re: [glassfish-dev] [jacc-dev] Jakarta Authorization standalone implementation based on GF code
  • From: Ed Bratt <ed.bratt@xxxxxxxxxx>
  • Date: Thu, 18 Mar 2021 10:03:41 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x7TCN+o/w1jS/SwL/5nGUkQJByfEM3ATSFnXIWacX7M=; b=Yj+0CSo/bRcM8QMz6fxBodta/E5OTJczTAUQo3rkgoMg4F1tAqWA1y2heRSnR4FC+NWq7xw4JKFzJwA03dusP7oCDujVbisC9HVb654QD+aqWJtgjcz2I/j0xsWE8z5ow0m4QQNYDa9tzXENT1+uiKhBsMjR1UVZUiimLPTlzLnRGNgbCOET72ZkuOilm1QlgqZjbrG0X942Xz5kzDL7TTb2lyca2+RVjqBouweHwhc3bvn4Z6tV2ol7N5b7hUtigSysoXRkjCAU9aiggJfp8ZcoIp0HKVXdecz6zSWf7Kxg9cbj2ys6EvxSh6YiXta9yB7yxn77g3NcD+UWZEyKoA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R4/I8yfmV0v7VJD7xrft1Nb+f7/X1zb+8GLjLW8IDK+PrG4WhbDsjJF4vvOQsVYhSBMPDbFEt9sCVopsk199rNv/mIcBD4oPCN391AjIPPSuAEtzXbdtFwK160U2qTSCeI3LKwe7SznneQID3DG0YH4Jl2S4+a8NzsvrhTOmL+etsiu4tKFiZF/R+w+qBmD/H/dgVhat2JPyBS8DjJF4w6IVF/sERPVpDH8EKmAK5+Hn13zauzfn4YfCQxipPwwtOYC5j1/kKxYh0N/ZnhoxRw+4iHBxgayUS8dEwqD20Afu6CtHXmQ/H7TEgGLU6ghRMDfzmNiLUrUDiVlUO3GiIQ==
  • Delivered-to: es-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/es-dev/>
  • List-help: <mailto:es-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/es-dev>, <mailto:es-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/es-dev>, <mailto:es-dev-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

It would be great to receive these contributions. If the consensus is to move this forward, please be sure to contribute these through the Contribution Questionnaire process (Click the link "Create a Contribution Questionnaire" from the Jakarta Security project page (here). If you have any questions, you can reach out to Wayne and/or the PMC.

Much appreciated!

-- Ed

On 3/18/2021 9:56 AM, arjan tijms wrote:
Hi,

On Thu, Mar 18, 2021 at 4:48 PM Jean-Louis Monteiro <jlmonteiro@xxxxxxxxxxxxx> wrote:
Good idea and good proposal.

Thanks!
 

You are talking about an Eclipse proposal based on Glassfish implementation. But the github repo is in the omnifaces organization and the java packages is also org.omnifaces. 

The repo seems to have 2 years old files committed.

So I'm a bit lost to where the code actually comes from.

Two years ago I started this project, using my own code for an authorization module and code to make the project usable standalone (by e.g. Piranha Cloud, as well as Tomcat), and taking the GlassFish code for the transformation of constraints to permissions. Later I also added the GlassFish authorization module to offer some choice (it's mostly educational and not strictly needed to have two modules). 

So it's a combination of my own code, and the code from GlassFish. If the proposal would be accepted, and the project graduated, the packages of the current Exousia project will not stay omnifaces of course. They would be renamed to likely org.glassfish.exousia.

As mentioned, part of the code is my own, e.g. this one:


I've marked these by "Copyright (c) ... OmniFaces".

Other parts are taken from GlassFish, most importantly the tricky transformation of constraints to permissions:
As mentioned, one of the two authorization modules (corresponding to the default Servlet/EJB collection/implies algorithm) is taken from GlassFish:
The original GlassFish code all has the original headers, marked by "Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved."

Most of the headers are two years old, since a) some code was taken 2 years ago, but b) code that was taken more recently is also 2018, since it hasn't changed since then and the GlassFish repo still has 2018 as well. See e.g.

Hope this makes it more clear.

Kind regards,
Arjan







 

_______________________________________________
es-dev mailing list
es-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/es-dev__;!!GqivPVa7Brio!MK7A0JgDZequSbs1nX5MFWpNKCcykfcTo9BLLOhDfJswhEN9OxuYbiq8RSXvMxI$ 

Back to the top