With spring boot 2.3.3, spring-security-5.3.4 and cas-client-core-3.6.1 and cas-security-spring-boot-starter-1.0.x
it does NOT compile on line com.kakawait.spring.boot.security.cas.autoconfigure.CasHttpSecurityConfigurer:179.
spring-boot says :
APPLICATION FAILED TO START
***************************
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.kakawait.spring.boot.security.cas.autoconfigure.CasHttpSecurityConfigurer$CasHttpSecurityConfigurerAdapter.init(CasHttpSecurityConfigurer.java:179)
The following method did not exist:
org.jasig.cas.client.session.SingleSignOutFilter.setCasServerUrlPrefix(Ljava/lang/String;)V
The method's class, org.jasig.cas.client.session.SingleSignOutFilter, is available from the following locations:
jar:file:/D:/maven/repository/org/jasig/cas/client/cas-client-core/3.6.1/cas-client-core-3.6.1.jar!/org/jasig/cas/client/session/SingleSignOutFilter.class
The class hierarchy was loaded from the following locations:
org.jasig.cas.client.session.SingleSignOutFilter: file:/D:/maven/repository/org/jasig/cas/client/cas-client-core/3.6.1/cas-client-core-3.6.1.jar
org.jasig.cas.client.util.AbstractConfigurationFilter: file:/D:/maven/repository/org/jasig/cas/client/cas-client-core/3.6.1/cas-client-core-3.6.1.jar
Hi,
With spring boot 2.3.3, spring-security-5.3.4 and cas-client-core-3.6.1 and cas-security-spring-boot-starter-1.0.x
it does NOT compile on line com.kakawait.spring.boot.security.cas.autoconfigure.CasHttpSecurityConfigurer:179.
spring-boot says :
because of : https://github.com/apereo/java-cas-client/commit/fdc948b8ec697be0ae04da2f91c66c6526d463b5
I comment the line of this java class in my webapp.
//singleSignOutFilter.setCasServerUrlPrefix(casSecurityProperties.getServer().getBaseUrl().toASCIIString());