Issues while upgrading from CAS 5.3.3 to CAS 5.6.6

98 views
Skip to first unread message

Tariq Hassan

unread,
Aug 17, 2022, 9:42:26 AM8/17/22
to CAS Community
Hi 

We make use of spengo for connecting to Microsoft Active directory from CAS . In CAS 5.3.3 version we use the following properties 

cas.authn.spnego.kerberosConf=/etc/krb5.conf
cas.authn.spnego.kerberosRealm
cas.authn.spnego.loginConf
cas.authn.spnego.kerberosConf=/etc/krb5.conf

I cheked the documentation for CAS 6.5.6 

I am unable to find these properties in new fromat for 6.5.6. version . 

Kindly suggest how to resolve this issue as I am stuck on this for days .


Thanks 

David Malia

unread,
Aug 17, 2022, 4:42:23 PM8/17/22
to cas-...@apereo.org
These might work.

#cas.authn.spnego.system.kerberos-conf=
#cas.authn.spnego.system.kerberos-debug=
#cas.authn.spnego.system.kerberos-kdc=
#cas.authn.spnego.system.kerberos-realm=
#cas.authn.spnego.system.login-conf=
#cas.authn.spnego.system.use-subject-creds-only=

--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/18155cbe-f66a-4b19-957f-80b250f5acb6n%40apereo.org.

Tariq Hassan

unread,
Sep 5, 2022, 10:59:11 PM9/5/22
to CAS Community, David Malia
getting this error after your suggestion 

ERROR [org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - <
Failed to bind properties under 'cas' to org.apereo.cas.configuration.CasConfigurationProperties


       cas.authn.spengo.system.login-conf = file:/etc/cas/login.conf (Origin: "cas.authn.spengo.system.login-conf" from property source "bootstrapProperties
-casCompositePropertySource")


       cas.authn.spengo.system.use-subject-cred-only = false (Origin: "cas.authn.spengo.system.use-subject-cred-only" from property source "bootstrapPropert
ies-casCompositePropertySource")


       cas.authn.spnego.usesubjectcredsonly = false (Origin: "cas.authn.spnego.useSubjectCredsOnly" from property source "bootstrapProperties-casCompositePr
opertySource")


Listed settings above are no longer recognized by CAS 6.5.6. They may have been renamed, removed, or relocated to a new namespace in the CAS configuration sc
hema. CAS will ignore such settings to proceed with its normal initialization sequence. Please consult the CAS documentation to review and adjust each settin
g to find an alternative or remove the definition from the property source. Failure to do so puts the server stability in danger and complicates future upgra
des.
>


Ray Bon

unread,
Sep 6, 2022, 12:38:23 PM9/6/22
to cas-...@apereo.org, dma...@gmail.com
Tariq,

You can get a description of all properties with:
./gradlew exportConfigMetadata

Then search that file for your properties (it provides a description and the changes to properties).

To see what you can do with gradlew:
./gradlew tasks

Ray

On Mon, 2022-09-05 at 06:19 -0700, Tariq Hassan wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose historical relationships with the land continue to this day.
Reply all
Reply to author
Forward
0 new messages