Thanks for this. We also needed to remove the endpoint for security
reasons.
Op vrijdag 22 mei 2020 om 15:03:19 UTC+2 schreef Hedley Proctor:
> The approach we've ended up taking is to have a configuration class as
> follows:
>
> @Configuration("myCasConfiguration")
> @EnableConfigurationProperties(CasConfigurationProperties.class)
> public class MyCasConfiguration implements WebMvcConfigurer {
>
> public void addViewControllers(ViewControllerRegistry registry) {
> // Map "/adminlogin to invalid location"
> registry.addRedirectViewController("/adminlogin", "notfound");
> registry.setOrder(Ordered.HIGHEST_PRECEDENCE);
> }
> }
>
--
- 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c80ffda9-b8c6-43da-bbc1-b6fb62896c48n%40apereo.org.