Hi Pablo,

I think I can confirm your expectations: a Git blame on an ancestor of 
`RegexRegisteredService` (BTW deprecated in favor of `CasRegisteredService 
` since 6.6.x) shows the "locale" property was introduced in 6.5.x and not 
any sooner, in this concrete commit:

https://github.com/apereo/cas/commit/859d66873a893a8673db2991bb6ae89f4115ef66

(Also note you can use just "https://www.example.org"; in "serviceId", as 
the *whole *region of the incoming "service" parameter is matched by the 
default (regex) matching strategy 
<https://apereo.github.io/cas/6.5.x/services/Configuring-Service-Matching-Strategy.html>.
 
This also means that for example "https://www.example.org/somepath"; won't 
get matched with your example service.)

Petr

On Friday, 27 January 2023 at 05:54:51 UTC+1 Pablo Vidaurri wrote:

> I see this in docs for CAS  6.5.x and newer but not in 6.3 or 6.4. I 
> assume since it does not work in 6.3 it was introduced in 6.5. I know not 
> everything is documented so not sure if this was available before 6.5
>
> locale definition per service
> { 
>   "@class" : "org.apereo.cas.services.RegexRegisteredService", 
>   "serviceId" : "^https://www.example.org";,
> "name" : "MyTheme", 
>   "locale" : "de", 
>   "id" : 1 
> }
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4fba1c95-2c86-4a94-a06d-12d5113c8f81n%40apereo.org.

Reply via email to