Hello all,
We are trying to upgrade from CAS 6.4.6.6 to 7.0.6 using CAS overlay and we are having issue with accessing login page, it was throwing 500 error if we add both delegated authentication and surrogate webflow. If I comment out one of the webflow, it is working. We are not using Passwordless Authentication but somehow it is showing as Caused by: java.lang.ClassNotFoundException: org.apereo.cas.api.PasswordlessAuthenticationRequest
Does anyone have seen this issue before and how to resolve this issue?
I also try to upgrade to CAS 6.6.15.2 and no issue on using both delegated authentication and surrogate webflow.
This is the change on build.gradle:
// service registration
implementation "org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
// LDAP
implementation "org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}"
// Azure AD Delegation
implementation "org.apereo.cas:cas-server-support-pac4j-webflow:${project.'cas.version'}"
// Surrogate support
implementation "org.apereo.cas:cas-server-support-surrogate-webflow:${project.'cas.version'}"
// use JDBC to get authorization from DB
implementation "org.apereo.cas:cas-server-support-surrogate-authentication-jdbc:${project.'cas.version'}"
snippets of cas.properties:
# AAD Authentication
cas.authn.pac4j.core.discovery-selection.selection-type=MENU
cas.authn.pac4j.oidc[0].azure.tenant=***
cas.authn.pac4j.oidc[0].azure.discovery-uri=***
cas.authn.pac4j.oidc[0].azure.client-name=azuread
cas.authn.pac4j.oidc[0].
azure.id=***
cas.authn.pac4j.oidc[0].azure.secret=***
cas.authn.pac4j.oidc[0].azure.auto-redirect-type=NONE
cas.authn.pac4j.oidc[0].azure.principal-id-attribute=onpremisessamaccountname
cas.authn.pac4j.oidc[0].azure.callback-url-type=PATH_PARAMETER
cas.authn.pac4j.oidc[0].azure.logout-url=
https://localhost:8080/cas/logout
#surrogate authentication using jdbc
cas.authn.surrogate.jdbc.surrogate-account-query=***
cas.authn.surrogate.jdbc.surrogate-search-query=***
cas.authn.surrogate.jdbc.user=***
cas.authn.surrogate.jdbc.password=***
cas.authn.surrogate.jdbc.driver-class=oracle.jdbc.OracleDriver
cas.authn.surrogate.jdbc.url=***
Attached file is the trace from my local instance