Hi Matt. The cas-addons issues on GH would be the best place for this 
discussion: https://github.com/Unicon/cas-addons/issues

Thank you.

Dmitriy.

On Aug 6, 2013, at 5:33 PM, Matt Elson <mailing_lists....@melson.fastmail.net> 
wrote:

> Apologies if this is the wrong list for this or if I missed some
> documentation, but I'm having a couple of problems with the read/write
> version of the JSON registry provided in Unicon's cas-addons version 1.6
> against CAS version 3.5.2.  I'm using the suggested Maven overlay with a
> few exclusions for libraries I don't believe I need.
> 
> Specifically, I'm running into two problems:
> 
> 1) Anything *new* added via the CAS-provided Services Manager 
> (CASserver/services) gets added to the json file with an id of "-1". 
> Subsequent services added also receive a -1 for the id.  The services do
> seem to validate/allow authentication okay, but it causes a display
> issue in the Services Manager where you can only see one of them.  
> 2) If you modify an existing service, you wind up with two copies of the
> service (the old one and the new one).
> 
> Using the non read-write version of the registry does not show this
> behavior (granted, it doesn't actually write anything out, but the id of
> subsequent added services increment themselves and modifying existing
> services doesn't appear to result in duplicates).
> 
> I'm not much of a programmer, but I poked around the code a bit and the
> attached patch clears it up in my test environment well enough (though I
> suspect it can be improved or I'm doing something horribly
> inappropriate).  I'm just not sure if this is an actual bug, expected
> behavior, some quirk of my environment, or me misunderstanding the
> configuration/use-case.
> 
> If there's a better place to send this query let me know and thanks in
> advance for any help you can give!
> 
> Matt 
> 
> -- 
> You are currently subscribed to cas-user@lists.jasig.org as: 
> dkopyle...@unicon.net
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user<webui.diff>


-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to