Skip to Content.
Sympa Menu

shibboleth-dev - Re: ARP changes

Subject: Shibboleth Developers

List archive

Re: ARP changes


Chronological Thread 
  • From: Walter Hoehn <>
  • To:
  • Cc:
  • Subject: Re: ARP changes
  • Date: Thu, 01 Aug 2002 18:34:58 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Parviz,

If you send me patch files, I will commit them directly after the a2.5
release.

Thanks,
Walter


wrote:
| Walter,
|
| I made all the changes that we talked about and I summerize it below. I
| compiled and tested it but did not commit it to CVS. I am not sure if
| this is the best time to introduce these changes as we are about to
| release alpha 2.5 and I am leaving town. It might be better if I send you
| the changed files and you check them in after the release is done or
| should we wait till I come back.
|
| Notice that these changes would require some changes in the GUI Arp
util too.
|
| Parviz
|
| P.S. Here are the changes/improvements:
|
| Changed ArpRepository class to take a "class name" and a "Properties
| object" instead of repository type and a data string. This makes the
| addition of new repository implementations completely dynamic. One can
| write a different implementation for ARP repository (as long as it
| implements ArpFactory Interface) and just pass in the name of the class in
| the config file. Properties object is created from all of the servlet
| config key-value pairs and is passed to the implementation. This way new
| implementations can get configuration values which are set in servlet
| config file.
|
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>Ok,
|>
|>I'll volunteer. When are you leaving town? Would you like to talk on
|>the phone about this today?
|>
|>- -Walter
|>
|>
|>Parviz Dousti wrote:
|>| Yep! I agree. Serializing arps was the cheapest and fastest way to
|>get | things going At the time there were too many unanswered questions
|>and I | did not want to complicate this part of it.
|>|
|>| I tried to structure the code to make it easy to add and use other
|>kind | of repositories. One that we have talked about in the past is
|>a SQL | database. Any volunteers :-)
|>|
|>| Parviz
|>|
|>| --On Tuesday, July 30, 2002 4:09 PM -0400 Walter Hoehn
|>|
<>
wrote:
|>|
|>|> -----BEGIN PGP SIGNED MESSAGE-----
|>|> Hash: SHA1
|>|>
|>|> Hey folks,
|>|>
|>|> The incompatibility is in the marshalling/unmarshalling. The Arp |>
|>classes currently use Java Serialization to store ARPs. I have |>
|>mentioned this before, but I think this is not a good idea. For now, it
|>|> isn't a big deal to just give people a new APR, since there are only
|>a |> couple of folks in the test. Furthermore, they are only using an
|>one |> ARP for the whole site. Down the road, if someone has 2,000 user
|>|> created ARPs, we can't just say "create new ARPs". It is true that
|>we |> could create tools to convert between ARP formats, but I think it
|>is a |> mistake to obscure this data from humans when there isn't any
|>reason to. |>
|>|> - -Walter
|>|>
|>|>
|>|> Derek Atkins wrote:
|>|> | Is there an upgrade tool to convert from the old to new ARPs? |> |
|>Or is this an ephemeral, in-core ARP only that is not compatible? |> |
|>|> | -derek
|>|> |
|>|> | Parviz Dousti
<>
writes:
|>|> |
|>|> |
|>|> |>I checked in the change that we talked about on Monday. Now you
|>can |> |>specify a "title" or "comment" for the ArpResource object. I
|>changed |> |>ArpUtil (command line util) to support the new feature.
|>Please notice |> |>the following important issues:
|>|> |>
|>|> |>
|>|> 1- Since we changed the Arp object, none of the previously
|>|> |>created ARPs can be used. You have to create new ones with the new
|>|> |>ArpUtil program. (Same goes for Arp GUI once Barbara uses new
|>classes). |> |>
|>|> |>
|>|> 2- If you use the command line interface and want to add
|>|> |>resources with TITLE, you must somehow skip the blank spaces in the
|>|> |>title. Just putting quotes around it is not enough. I'll see if I
|>|> |>can find a way around it.
|>|> |>
|>|> |>
|>|> I also checked in a new "admin" arp for distribution.
|>|> |>
|>|> |>Parviz
|>|> |>
|>|> |>
|>|> |
|>|> |
|>|>
|>|>
|>|> - --
|>|> - -------------------------
|>|> Walter F. Hoehn, Jr
|>|> Systems Programmer
|>|> Columbia University - EPIC
|>|> - -------------------------
|>|>
|>|>
|>|> -----BEGIN PGP SIGNATURE-----
|>|> Version: GnuPG v1.0.6 (MingW32)
|>|> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|>|>
|>|> iD8DBQE9RvJfN0n/LHqdq0ERAgw6AJ9KW0JQPg9jZtrx5Yg3ry5sjGJRoQCdG+LG |>
|>IcnIns1CIqU7AzvZy1oJp70=
|>|> =ME8S
|>|> -----END PGP SIGNATURE-----
|>|>
|>|>
|>|
|>|
|>|
|>|
|>|
|>
|>
|>- --
|>- -------------------------
|>Walter F. Hoehn, Jr
|>Systems Programmer
|>Columbia University - EPIC
|>- -------------------------
|>
|>
|>-----BEGIN PGP SIGNATURE-----
|>Version: GnuPG v1.0.6 (MingW32)
|>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|>
|>iD8DBQE9SAGxN0n/LHqdq0ERAt46AKDNZ5uxaDlyYLc+WWfQThjqFHLmRwCcCdqU
|>0OqNZWTOeO5w5p+JZ04xhFI=
|>=VdRt
|>-----END PGP SIGNATURE-----
|
|
|


- --
- -------------------------
Walter F. Hoehn, Jr
Systems Programmer
Columbia University - EPIC
- -------------------------


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9SbeSN0n/LHqdq0ERAps5AJ4vqVPZipPJnWH2RDn3sKZyYM4UyQCgwYT3
9VXiXPht7F2/9FQo7bUbOQU=
=/sJr
-----END PGP SIGNATURE-----

------------------------------------------------------mace-shib-design-+
For list utilities, archives, subscribe, unsubscribe, etc. please visit the
ListProc web interface at
http://archives.internet2.edu/

------------------------------------------------------mace-shib-design--



  • Re: ARP changes, dousti, 08/01/2002
    • Re: ARP changes, Walter Hoehn, 08/01/2002

Archive powered by MHonArc 2.6.16.

Top of Page