FWIW, I was able to get past this error by removing the deprecated property "management.endpoints.enabled-by-default=true". The error message seems to suggest the property "management.endpoints.access.default" as a replacement, but I can't find information about this property in the CAS documentation.
I did find Spring Boot documentation[1] that identifies one possible valid value ("none") for this property, but not any other possible valid values.
For CAS, the default appears to be sort of consistent with "none" since it seems I have to explicitly enable any actuator endpoints if I want to use anything besides just "health" and "info" (e.g. "throttles" and "duoPing").
Furthermore the CAS documentation[2] states, "that by default the only endpoints exposed over the web are info, status, health and configurationMetadata." However, even if the status endpoint is explicitly enabled the same way as for health and info, it still rejects access to status.
cas.properties:
management.endpoints.web.base-path=/actuator
management.endpoints.web.exposure.include=health,info,status,throttles,duoPing
management.endpoint.health.enabled=true
management.endpoint.info.enabled=true
management.endpoint.status.enabled=true
management.endpoint.throttles.enabled=true
management.endpoint.duoPing.enabled=true
cas.monitor.endpoints.endpoint.defaults.access=IP_ADDRESS
cas.monitor.endpoints.endpoint.defaults.required-ip-addresses=127.0.0.1, [...more IP addrs...]
This results in the following logs that demonstrate the difference between attempted access to "health" and "status" endpoints:
DEBUG [org.springframework.security.web.authentication.AnonymousAuthenticationFilter] - <Set SecurityContextHolder to anonymous SecurityContext>
DEBUG [org.springframework.security.web.FilterChainProxy] - <Securing HEAD /actuator/health>
DEBUG [org.springframework.security.web.FilterChainProxy] - <Secured HEAD /actuator/health>
DEBUG [org.springframework.security.web.authentication.AnonymousAuthenticationFilter] - <Set SecurityContextHolder to anonymous SecurityContext>
DEBUG [org.springframework.security.web.FilterChainProxy] - <Securing GET /actuator/status>
DEBUG [org.springframework.security.web.authentication.AnonymousAuthenticationFilter] - <Set SecurityContextHolder to anonymous SecurityContext>
DEBUG [org.springframework.security.web.savedrequest.HttpSessionRequestCache] - <Saved request
https://cas66.pvt.hawaii.edu:8443/cas/actuator/status?continue to session>
DEBUG [org.springframework.security.web.authentication.Http403ForbiddenEntryPoint] - <Pre-authenticated entry point called. Rejecting access>
DEBUG [org.springframework.security.web.FilterChainProxy] - <Securing GET /error>
DEBUG [org.springframework.security.web.FilterChainProxy] - <Secured GET /error>
I seem to recall the status endpoint may have been deprecated at some point, but I can't find confirmation in the CAS documentation. If so, is the current documentation erroneous in stating that it may be exposed? If not, how do you also get status to work?