[cas-user] Start from CAS v6.1 it not compatible with OIDC

2022-02-28 Thread Jae Liu
Hi Everyone, I found that from CAS v6.1 commitment "fix APIs that do not explicitly define an attribute capable of handli…" (commit sha 9d5b82784b34ff090bd0d58515a165c34a0025f0), changed attributes value to ArrayList, it is not compatible with OIDC, because OIDC claims value are String. Is

Re: [cas-user] CAS 6.4.4.2 after upgrade Log filled with "WARN"

2022-02-28 Thread Rod B
Hi Ray et al I put in the changes to my cas.properties config file and restarted tomcat. Unfortunately the WARN entries continue. Any other ideas? Thank you, Rod On Monday, 28 February 2022 at 12:51:58 UTC-8 Ray Bon wrote: > Rod, > > I also have these properties > >

[cas-user] Re: couchdb issues 6.4.4.2 or 6.5 RC4

2022-02-28 Thread Pablo Vidaurri
Db, Schema has changed, not sure if it happened in 6.4.5 or another 6.4.x version. Have you set your autoDll to drop and recreate the tables? I believe all tickets are now stored in cas_tickets table. -psv On Wednesday, February 23, 2022 at 3:34:18 AM UTC-6 Vittore Zen wrote: > Same problem.

Re: [cas-user] CAS 6.4.4.2 after upgrade Log filled with "WARN"

2022-02-28 Thread Rod B
Thanks Ray! I'll give them a go and report back. Thank you, Rod On Monday, 28 February 2022 at 12:51:58 UTC-8 Ray Bon wrote: > Rod, > > I also have these properties > > cas.server.scope=local.uvic.ca > cas.server.name=https://${cas.server.scope} > cas.server.prefix=${cas.server.name}/cas > >

Re: [cas-user] SAML SP Metadata with multiple signing keys

2022-02-28 Thread Ray Bon
Gordon, That sounds like a bug. Cas should try all keys until one works. This is necessary for key rollover to take place. As you mentioned, this SP does this on a yearly basis. Hopefully one of the maintainers can comment on this. Ray On Mon, 2022-02-28 at 20:45 +, Gordon, Matthew

Re: [cas-user] URGENT : Memory leak issue in PROD

2022-02-28 Thread Ray Bon
Morning, The default for repeat-interval is 30s. You have it set for about 20d. There are a few other properties that differ from the default values (async-backup-count, backup-count, start-delay). Are you sure you want those property values changed? Try the defaults and see if the memory

Re: [cas-user] CAS 6.4.4.2 after upgrade Log filled with "WARN"

2022-02-28 Thread Ray Bon
Rod, I also have these properties cas.server.scope=local.uvic.ca cas.server.name=https://${cas.server.scope} cas.server.prefix=${cas.server.name}/cas # --- TGC Settings --- # cas.tgc.path=/cas/ cas.tgc.maxAge=-1 cas.tgc.domain=${cas.server.scope} Ray On Mon, 2022-02-28 at 10:24 -0800,

Re: [cas-user] SAML SP Metadata with multiple signing keys

2022-02-28 Thread Gordon, Matthew
Hi Ray, Thank you for the suggestion. I am attempting to use that method already, but the two signing keys in there metadata presents the problem. If I configure the service definition to pull their metadata via the https URL, it works. The problem is they sign their AuthN request and CAS is

Re: [cas-user] Re: Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Ray Bon
Yan, Since getTicketMapInstanceByMetadata returns IMap, you should only need to add cas-server-core-api-ticket-6.4.4.2.jar (or whatever version you are using). Only one version of the library is necessary, Ticket interface is unlikely to change much (but keep it up to date). Ray On Mon,

Re: [cas-user] SAML SP Metadata with multiple signing keys

2022-02-28 Thread Ray Bon
Matthew, You can set SP metadataLocation to a URL, https://apereo.github.io/cas/6.4.x/services/SAML2-Service-Management.html Ray On Mon, 2022-02-28 at 09:41 -0800, Matthew Gordon wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with

[cas-user] CAS 6.4.4.2 after upgrade Log filled with "WARN"

2022-02-28 Thread Rod B
Hi Everyone, I was wondering if someone could give us a hand with this warning. Since we upgraded from 6.1.1 our catlina.out log is filled with InvalidCookieException. i.e: 2022-02-28 10:07:16,389 WARN [org.apereo.cas.web.support.gen.CookieRetrievingCookieGenerator] - We have a pretty

Re: [cas-user] Re: Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Yan
This is CAS HazelCastTicketRegistry code, it is writing to HZ IMap object, with TGT object. I do not see any special code, it seems writing the TGTTicketImpl object into Imap. public void addTicketInternal(final Ticket ticket) { val metadata = this.ticketCatalog.find(ticket);

Re: [cas-user] URGENT : Memory leak issue in PROD

2022-02-28 Thread Morning Star
Hi Ray, Your help really means a lot to me. Adding more info: As of now, we have these hazelcast properties in production. Please take a look & let me know if any of these configuration leads to memory leak. cas.ticket.registry.hazelcast.page-size=500

[cas-user] SAML SP Metadata with multiple signing keys

2022-02-28 Thread Matthew Gordon
We have a SAML SP (3rd Party system) that has multiple signing keys in their metadata. They rotate keys, yearly, from a Public Certificate Authority. CAS picks either the first key or the one with the furthest expiration date, I don't know which, but I do know it's picking the wrong

Re: [cas-user] Re: Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Ray Bon
Yan Zhou, I would think that cas prepares the tickets prior to sending them to hazelcast. Hazelcast should not need to know about the specifics of the data being stored. Ray On Mon, 2022-02-28 at 08:45 -0800, Yan Zhou wrote: Notice: This message was sent from outside the University of

[cas-user] Re: Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Pablo Vidaurri
Also note the schema changes for CAS 6.5, all is tickets are serialized to one maybe two tables. On Monday, February 28, 2022 at 10:11:44 AM UTC-6 Yan Zhou wrote: > Hi there, > > Anyone having to deal with token/ticket storage that require serializing > CAS objects like Hazelcast? > > For

Re: [cas-user] Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Ray Bon
Yan Zhou, Are you creating a custom feature? If so, you may have to include libraries from the main cas project; and others as necessary. If it is a custom ticket feature, you can structure it like the most similar one from the cas project. If not, you can add hazelcast ticket storage as per,

Re: [cas-user] URGENT : Memory leak issue in PROD

2022-02-28 Thread Morning Star
Thanks Ray for your response. Let me try this option & get back. Regards, Morning. On Monday, February 28, 2022 at 10:10:47 PM UTC+5:30 Ray Bon wrote: > Morning Star, > > Other than our site specific hazelcast settings, these are the only other > settings. We have not experienced a memory

[cas-user] Re: Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Yan Zhou
Hi, I realize what maybe happening, the CAS documentation assumes embedded HZ, HZ and CAS live in the same JVM and therefore having access to all CAS jars. But, our HZ is external to CAS, multiple CAS apps point to the same HZ cluster running on separate VMs. How do I know which jars

[cas-user] Re: CAS 6.4.4.2 ERROR [org.apereo.cas.ticket.registry.RedisTicketRegistry] - & ERROR [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] -

2022-02-28 Thread Rod B
The last error was at 11:46. I wonder if this was related to old service tickets. As it's now 8:35 AM and we are getting quite a few logins without that error. Will update this thread if the errors return. Cheers, Rod On Sunday, 27 February 2022 at 22:57:02 UTC-8 Rod B wrote: > Hello, > >

[cas-user] Hazelcast integration, TGT, ST, OIDC tokens serialization jars?

2022-02-28 Thread Yan Zhou
Hi there, Anyone having to deal with token/ticket storage that require serializing CAS objects like Hazelcast? For instance, TGT, ST, OIDC RT/AT all go to Hazelcast ticket registry, which requires to serialize any objects put on IMap. Would I have to package all jars containing these class

[cas-user] 6.4.5 upgrade: "Error creating bean with name"

2022-02-28 Thread Pablo Vidaurri
I'm using JPA with CAS 6.3.7.4. All is fine. Upgrading to 6.4.5 causes a runtime exception: 2022-02-25 16:39:08,083 WARN [org.apereo.cas.web.CasWebApplicationContext] - CAS 6.4.5 is using springBootVersion=2.5.4 and CAS 6.3.7.x is using springBootVersion=2.3.7.RELEASE Does something need