Hi everyone,
The issue with the configs seem to appear when we "seperate" the cas.authn.pac4j.saml[0] configs in different config files
For example all the configs of the type cas.authn.pac4j.saml[0] that we use in cas are the below:
cas.authn.pac4j.saml[0].keystorePassword=pac4j-demo-passwd
cas.authn.pac4j.saml[0].privateKeyPassword=pac4j-demo-passwd
cas.authn.pac4j.saml[0].serviceProviderEntityId=urn:mace:saml:
pac4j.orgcas.authn.pac4j.saml[0].serviceProviderMetadataPath=/etc/cas/config/sp-metadata.xml
cas.authn.pac4j.saml[0].keystorePath=/etc/cas/config/samlKeystore.jks
cas.authn.pac4j.saml[0].identityProviderMetadataPath=
https://blablablacas.authn.pac4j.saml[0].clientName=SAML2Client
When we set up e.g. cas.authn.pac4j.saml[0].identityProviderMetadataPath in the file conf/cas_custom.properties and all the rest in the file conf/cas_base.properties, then the login does not work correctly.
However, when we set up ALL the used cas.authn.pac4j.saml[0] configs in the config file (either cas_custom.properties or/and cas_base.properties) then the login is working as expected.
So it looks like those kind of configs need to be read from the same file all together, else if they are read partially from different files, something is not working as expected.
I am not sure if this kind of issue can happen in different config types as well.
Thanks,
Ria