[cas-dev] JA-SIG java client

Velpi velpi at industria.be
Mon Sep 18 12:09:42 EDT 2006


Hi

I'm considering moving to the new JA-SIG java client soon (because I need 
another new feature, I'll talk about that later).
Can someone give a short summary on how to use it (I'll figure out the details 
myself): package it, configure it...

I guess it uses maven2?

I'm browsing through the source now and here are my first remarks:


####################################
-----------------
NOTE: you can only retrieve a ProxyGrantingTicket once with this method.
      * Its removed after retrieval.
-----------------
That's not so nice...
Can we add a function/flag that says don't remove it from the cache? PGT' are 
meant to be reusable for a certain amount of time. (also see next remark)
####################################
We currently use the java client as a java library as described at the website, 
will that also be possible with this new code?
(you hand a PGTIOU to the library and it gets a PT for you by looking up the PGT 
from the cache and fetching a new PT; you never see the PGT in the app's code)
####################################
It seems there's a lot of filters that you need to configure in the right order 
to make it work properly. While this is a great to do it when you know very well 
what you're doing, I think it might prevent easy adoption. Maybe it would be a 
good idea to create another filter that just takes a few parameters and then 
configures all the commonly used filters itself? It's convenient and it will 
make it easier for people to switch from the YALE to the JA-SIG filter...

[more remarks later :)]

-- Velpi


More information about the cas-dev mailing list