You would need to setup a service entry with a time based service access 
strategy that would fail on entry.

The example from:

https://apereo.github.io/cas/6.6.x/services/Service-Access-Strategy-Time.html

should work since its dates are in the past.

  "accessStrategy" : {
    "@class" : 
"org.apereo.cas.services.TimeBasedRegisteredServiceAccessStrategy",
    "startingDateTime" : "2015-11-01T13:19:54.132-07:00",
    "endingDateTime" : "2015-11-10T13:19:54.248-07:00",
    "zoneId" : "UTC"
  }




From: cas-user@apereo.org <cas-user@apereo.org> On Behalf Of Pablo Vidaurri
Sent: Tuesday, May 9, 2023 2:22 AM
To: CAS Community <cas-user@apereo.org>
Subject: [EXTERNAL SENDER] [cas-user] Displaying random views

When I do gradlew listTemplateViews, i see one of the templates such as:
templates\casBadHoursView.html

How can I view this page to see what it looks like out of the box? I've tried 
myserver/cas/badHours, myserver/cas/BadHours, myserver/cas/badhours, etc and 
cannot find the page. Only thing I can view is cas/login and cas/logout.
--
- 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 cas-user+unsubscr...@apereo.org<mailto:cas-user+unsubscr...@apereo.org>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d38451b3-95f6-49fe-b769-64203a04bc7cn%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/d38451b3-95f6-49fe-b769-64203a04bc7cn%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/DS7PR17MB67307D5BC0D6E39B476C7337B4769%40DS7PR17MB6730.namprd17.prod.outlook.com.

Reply via email to