File an issue against the repo please and we will review shortly.
On Nov 8, 2013 1:53 PM, "Alberto Cabello Sánchez" <[email protected]> wrote:

> Hi everybody,
>
> I just got working Mongo DB as described in
>
> https://github.com/Unicon/cas-addons/wiki/Configuring-MongoDb-Service-Registry
> but when I add a new service, it overwrites the previous one, so I can only
> have a service.
>
> I've notice in Mongo the added record is always getting "_id" set to "-1",
> which
> I think is not right:
>
> {
>   "_id" : NumberLong(-1),
>   "_class" : "org.jasig.cas.services.RegisteredServiceImpl",
>   "allowedAttributes" : [ ],
>   [... other fields go here ...]
>   "ignoreAttributes" : false,
>   "evaluationOrder" : 0
> }
>
>
> Quite funny, this is the same problem I found with my homebrewed KiraDB
> backend yesterday, which I was trying to get rid of by switching to Mongo.
>
> Any help is very much appreciated,
>
> --
> -----------------------
> Alberto Cabello Sánchez
> [email protected]
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to