dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
284 stars 135 forks source link

gplazma.oidc properties #5057

Open ageorget opened 5 years ago

ageorget commented 5 years ago

Hi,

I'm trying to configure OPENID Connect with dCache 5.2. According to dCache documentation https://www.dcache.org/manuals/Book-5.2/config-gplazma.shtml#using-openid-connect, the providers have to be set with gplazma.oidc.hostnames

But this property seems to be replaced by dcache.oidc.providers : WARN - Property gplazma.oidc.hostnames: please review configuration; support for gplazma.oidc.hostnames will be removed in the future


#  OpenID Connect hostnames
#
#  Please use the 'dcache.oidc.providers' configuration property
#  instead.
#
(deprecated)gplazma.oidc.hostnames = ${dcache.oidc.hostnames}
...
(prefix)gplazma.oidc.provider = ${dcache.oidc.provider}

But dcache.oidc.providers is not a dCache property. Only gplazma.oidc.provider or dcache.oidc.hostnames properties exist.

I think the warning for the deprecated property gplazma.oidc.hostnames and (prefix)gplazma.oidc.provider = ${dcache.oidc.provider} have to be changed to dcache.oidc.hostnames

Cheers,

paulmillar commented 4 years ago

Thanks for reporting these issues.

I've created a new issue that targets just the gPlazma documentation problem (using a deprecated property).

This leaves this issue to target the bad documentation/default-values in the defaults file.