shibboleth-dev - Re: GridShib package names
Subject: Shibboleth Developers
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: GridShib package names
- Date: Tue, 24 Jan 2006 10:08:34 -0500
- Organization: UIS - Project Sentinel
I generally like Sun's way of naming incorporated code (though rarely the code they choose to incorporate). Using the lionshare example the package would be something like:
edu.psu.edu.internet2.middleware.shibboleth.idp.provider
Basically just tacking on your domain name to the front of the package name. I prefer this because it usually helps me figure out where the code was derived from and, if I choose too, where to look for the code in the extended code base.
Mark Allen Earnest wrote:
For the lionshare plugin I took code from SAMLv1.1_AttributeQueryHandler.java (and attributed it as such) and basically kept the same package name except put it in psu's namepsace ( edu.internet2.middleware.shibboleth.idp.provider became edu.psu.middleware.shibboleth.idp.provider ).
One thing I did not do is put a license on it (although it has yet to be distributed), but I'm probably just going to keep the same Apache 2.0ish license terms for simplicity.
Mark Earnest
Scott Cantor wrote:
The GridShib plugin for Shib uses the following package names:
package edu.internet2.middleware.shibboleth.common;
package edu.internet2.middleware.shibboleth.common.provider;
For your code or referencing/incorporating other code?
Is this use of the edu.internet2 namespace "allowed"?
Not for code you're producing, no. Java packges are no different than any
other DNS-based hierarchy. It only works if people follow the rules.
If so, what
license header should be used in the source (both Globus and Internet2
derive from Apache License, Version 2.0)?
If you're copying in source from us, I would change the package names, but I
think the licensing terms let you do anything you want (including
relicensing it) as long as the "contains code from Internet2"
acknowledgement is present.
But under no circumstances should you drop the code in wholesale into your
jarfile. That's exactly what got Globus into trouble.
-- Scott
--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124
- GridShib package names, Tom Scavo, 01/24/2006
- RE: GridShib package names, Scott Cantor, 01/24/2006
- Re: GridShib package names, Mark Allen Earnest, 01/24/2006
- Re: GridShib package names, Chad La Joie, 01/24/2006
- Re: GridShib package names, Tom Scavo, 01/24/2006
- RE: GridShib package names, Scott Cantor, 01/24/2006
- Re: GridShib package names, Von Welch, 01/24/2006
- RE: GridShib package names, Scott Cantor, 01/24/2006
- Re: GridShib package names, Von Welch, 01/24/2006
- RE: GridShib package names, Scott Cantor, 01/24/2006
- Re: GridShib package names, Mark Allen Earnest, 01/24/2006
- Re: GridShib package names, RL 'Bob' Morgan, 01/24/2006
- RE: GridShib package names, Scott Cantor, 01/24/2006
Archive powered by MHonArc 2.6.16.