Session Cache Plugin shib1.3 vs shib2.1

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Session Cache Plugin shib1.3 vs shib2.1

Achugatla, Vijay Kumar (ELS-CON)

I am trying to upgrade our SP 1.3 to 2.1. It looks like I can’t use the current configuration files so I am wondering if there is a guide on the differences between the two versions.

I am planning to rewrite the Session cache plugin to be compatible with 2.1. I went through the interfaces provided as part of Shibboleth code i.e. memcache-store2.1 (for 2.1) and shib-mysql-ccache1.3 (for 1.3) and see that there is a lot of difference. The current Session cache plugin that we use reads the session data from Oracle 9i database. I am wondering if I can still use the existing plugin in SP2.1. Also want to know whether the memcache-store2.1 should be implemented only for StorageService element type="MEMCACHE" or for any type

I could not find much info about the session cache plugin in the wiki. Is there any document or reference related to this?

 

Thanks,

Vijay

Reply | Threaded
Open this post in threaded view
|

RE: Session Cache Plugin shib1.3 vs shib2.1

Cantor, Scott E.
Achugatla, Vijay K. (LNG-CON) wrote on 2009-01-14:
> I am trying to upgrade our SP 1.3 to 2.1. It looks like I can't use the
> current configuration files so I am wondering if there is a guide on the
> differences between the two versions.

There's a style sheet included that does a rudimentary transform for
illustrative purposes. There's also this:

https://webauth.service.ohio-state.edu/~shibboleth/upgrade.html

which is not specifically about that but does include some information about
it.

In general, if you understand the 1.3 configuration, there will be very
little difficulty in the change. If you don't, nothing I wrote will help
anyway.
 
> I am planning to rewrite the Session cache plugin to be compatible with
2.1.
> I went through the interfaces provided as part of Shibboleth code i.e.
> memcache-store2.1 (for 2.1) and shib-mysql-ccache1.3 (for 1.3) and see
that
> there is a lot of difference. The current Session cache plugin that we use
> reads the session data from Oracle 9i database.

Then please try the ODBC plugin.

> I am wondering if I can
> still use the existing plugin in SP2.1.

Not even close.

> Also want to know whether the
> memcache-store2.1 should be implemented only for StorageService element
> type="MEMCACHE" or for any type

I don't understand the question.

> I could not find much info about the session cache plugin in the wiki. Is
> there any document or reference related to this?

You don't write a session cache plugin in 2.x, you write storage service
plugins.

https://spaces.internet2.edu/display/SHIB2/NativeSPStorageService

If you mean development information for a new plugin, I have nothing much to
offer other than a drafty skeleton plugin project I started working on, but
has nothing specifically to do with storage plugins. I haven't checked in or
published the skeleton, but I can post it.

-- Scott