CAS 5.3 and CAS 5.2 Delegated Authentication Parameter is differ

188 views
Skip to first unread message

Wang David

unread,
Feb 24, 2019, 9:37:51 PM2/24/19
to CAS Community
Hi,

I use the CAS 5.1 for while, now try to use the delegation mode to delegate the authentication to another CAS Server 5.3. Try CAS 5.1 doesn't work. Then upgrade to CAS 5.3 and work. But the CAS 5.3 seems don't have the cas.authn.pac4j.autoRedirect=false parameter which CAS 5.1 and CAS 5.2 has. The doc for CAS 5.2 list the following perperties:

Pac4j Delegated AuthN

Act as a proxy, and delegate authentication to external identity providers. To learn more about this topic, please review this guide.

1
2
3
# cas.authn.pac4j.typedIdUsed=false
# cas.authn.pac4j.autoRedirect=false
# cas.authn.pac4j.name=

the doc for CAS 5.3 list the following:

Pac4j Delegated AuthN

Act as a proxy, and delegate authentication to external identity providers. To learn more about this topic, please review this guide.

1
2
3
# cas.authn.pac4j.typedIdUsed=false
# cas.authn.pac4j.principalAttributeId=
# cas.authn.pac4j.name=

Looks like the cas.authn.pac4j.autoRedirect is no longer in the property list, any replace for this property or how to enable the auto redirect?


Thanks

Wang David

unread,
Feb 24, 2019, 9:47:49 PM2/24/19
to CAS Community
Found the confiuration key. It change to:

cas.authn.pac4j.cas[0] instead of cas.authn.pac4j.autoRedirect

在 2019年2月25日星期一 UTC+8上午10:37:51,Wang David写道:
Message has been deleted
Message has been deleted

Boris P1

unread,
Apr 8, 2019, 10:48:26 AM4/8/19
to CAS Community
Hi,

More easier, depending on the identity provider you are using, for example Google, you have the following config key:



1
2
3

cas.authn.pac4j.google.autoRedirect

See below:

https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#pac4j-delegated-authn



Reply all
Reply to author
Forward
0 new messages