I've tried to disable the security by setting endpoints.sensitive=false but I still get Access Denise error when access https://localhost:8443/cas/status <https://www.google.com/url?q=https%3A%2F%2Fcasurl%2Fcas%2Fstatus&sa=D&sntz=1&usg=AFQjCNGKV-dARq3gGClLgQlCYg8rZD_EGQ>
I created a Simple controller to check memcache health and tried to use https://localhost:8443/cas/status <https://www.google.com/url?q=https%3A%2F%2Fcasurl%2Fcas%2Fstatus&sa=D&sntz=1&usg=AFQjCNGKV-dARq3gGClLgQlCYg8rZD_EGQ> and I still get Access Denise error . But when I changed my controller end point url like h ttps://localhost:8443/cas/status <https://www.google.com/url?q=https%3A%2F%2Fcasurl%2Fcas%2Fstatus&sa=D&sntz=1&usg=AFQjCNGKV-dARq3gGClLgQlCYg8rZD_EGQ>xxx This works. It looks like there is some thing either in CAS code or spring boot acuator looking for url with /status ??? Basically I want to disable all monitoring included in CAS and use my custom Controller end point to check memcache health. How do I disable complete monitoring from CAS and make my health check url to be https://localhost:8443/cas/status <https://www.google.com/url?q=https%3A%2F%2Fcasurl%2Fcas%2Fstatus&sa=D&sntz=1&usg=AFQjCNGKV-dARq3gGClLgQlCYg8rZD_EGQ> ? Thanks Rao On Sunday, October 21, 2018 at 11:34:42 PM UTC-7, Mr Rao wrote: > > Hi, > We have been monitoring memcache using https://casurl/cas/status > <https://www.google.com/url?q=https%3A%2F%2Fcasurl%2Fcas%2Fstatus&sa=D&sntz=1&usg=AFQjCNGKV-dARq3gGClLgQlCYg8rZD_EGQ> > > cas 3.x version, we changed Monitoring bean to pass only our custom > memcache health check. > > I see that in new CAS health check has lot of end points and also all end > points are secured , all I want to do is create custom mecache health check > and we want to use it in our load balancer health check instead of exposing > it on the web , as we use it internally we do not need security for this > end point. I do not want to expose all spring boot endpoints mentioned in > the doc at > https://apereo.github.io/cas/5.2.x/installation/Monitoring-Statistics.html > > > Any help is appreciated. > > > Thanks > Rao > -- - 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/acf129b3-8f60-4d99-acde-6d182349127f%40apereo.org.
