[cas-user] Re: Noob question about{...}

2019-10-09 Thread vallee.romain
I thought it was a new feature of version 6 !

Le mercredi 9 octobre 2019 09:11:00 UTC+2, Andy Ng a écrit :
>
> Hello,
>
> > what you mean is that this configuration key is only present in the doc, 
> not in the configuration file
> Yup. ${configurationKey} is not a working mechanism, *don't put 
> ${configurationKey}.cluster.instanceName in your cas.properties file, 
> instead, put this cas.ticket.registry.hazelcast.cluster.members.*
>
> ${configurationKey} is just the way of CAS like to document their 
> properties...
>
> - Andy
>

-- 
- 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/feed0123-7f24-4f9f-b41f-82276a7cf3b6%40apereo.org.


[cas-user] Re: Noob question about{...}

2019-10-09 Thread Andy Ng
Hello,

> what you mean is that this configuration key is only present in the doc, 
not in the configuration file
Yup. ${configurationKey} is not a working mechanism, *don't put 
${configurationKey}.cluster.instanceName in your cas.properties file, 
instead, put this cas.ticket.registry.hazelcast.cluster.members.*

${configurationKey} is just the way of CAS like to document their 
properties...

- Andy

-- 
- 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/54bf4d6d-afaf-40a9-8d19-66923bdb858a%40apereo.org.


[cas-user] Re: Noob question about{...}

2019-10-09 Thread vallee.romain
thank you for your answers !!
what you mean is 
that this configuration key is only present in the doc, not in the 
configuration file



Le mardi 8 octobre 2019 21:53:28 UTC+2, vallee.romain a écrit :
>
> Hello.
> I spend a lot of Time to configure 5.x cas, and,now,i have to configure 
> 6.0 with some news in cas.properties like this stuf :
> ${configurationkey}
> I understand that a "shortcut" to a configuration path, but where can we 
> find this path ?
>
> In documentation, impossible to find complete path to this :
>
> {configurationKey}.dialect (for jpa ticket)
>
> Thank you so much
>
>

-- 
- 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/be67901a-24e3-48a6-a085-baf177b06585%40apereo.org.


[cas-user] Re: Noob question about{...}

2019-10-08 Thread Andy Ng
Hello,

I also agree this part of the documentation is hard to understand unless 
you read through the whole doc word by word

Let make Hazelcat Ticket Registry as an example: 
https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#hazelcast-ticket-registry

You saw that there is a line here:
*Hazelcast settings for this feature are available here 

 under 
the configuration key cas.ticket.registry.hazelcast.*


And after you click into the link, it will redirect you to here: 
https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties-Common.html#hazelcast-configuration

With the following line

# ${configurationKey}.cluster.members=123.456.789.000,123.456.789.001
# ${configurationKey}.cluster.instanceName=localhost
# ${configurationKey}.cluster.port=5701



In the example of Hazelcast Ticket, that means if you want to set members 
for Hazelcast, you need to use the following syntax:

*[cas.ticket.registry.hazelcast] => **# 
${configurationKey}.cluster.members=123.456.789.000,123.456.789.001*
*cas.ticket.registry.hazelcast*
*.cluster.members=123.456.789.000,123.456.789.001*


The cas.ticket.registry.hazelcast is the {$configurationKey}, you plug it 
in and it would works.


How about another example: 
https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#radius-authentication
Principal transformation settings for this feature are available here 

 under 
the configuration key cas.authn.radius.

In this case, the config for Radius Principal transformation settings 
should be:
*cas.authn.radius.principalTransformation.pattern=(.+)@example.org*


See if the above helps, thanks.

Cheers!
- Andy






-- 
- 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/c3cb1282-0002-4c37-932e-806359669d76%40apereo.org.