So out of the box, as.war contains several JSON services definitions in webapps/resources/services. Allow ALL https or imaps regex definition is one of them. In your case you have HTTP. So you’d want to find this file in your exploded war and add ‘http’ to the serviceId regex:
https://github.com/Jasig/cas/blob/v4.1.3/cas-server-webapp/src/main/resources/services/HTTPSandIMAPS-10000001.json#L3 <https://github.com/Jasig/cas/blob/v4.1.3/cas-server-webapp/src/main/resources/services/HTTPSandIMAPS-10000001.json#L3> Again, as Misagh already mentioned, deffinetly not recommended for production, especially non HTTPS services as you would lose the ability to do web SSO with CAS - its main value proposition Best, Dmitriy. > On Jan 11, 2016, at 9:29 AM, Misagh Moayyed <[email protected]> wrote: > > Find your JSON service file, and change the serviceId pattern to match > anything and everything. > > Definitely a bad idea though. Do not recommend it. > > From: [email protected] [mailto:[email protected]] On Behalf Of Petr > Gašparík - AMI Praha a.s. > Sent: Monday, January 11, 2016 7:24 AM > To: CAS Community <[email protected]> > Subject: [cas-user] CAS 4.1 - How to open to all services > > Hi, > as of documentation, CAS 4.1 server should be by default open to all services. > > However, when I try ?service=http://example.org, I get "Application Not > Authorized" > > Can I open CAS 4.1 server to all applications/services, without using CAS > webapp management? > > Thank you! > -- > 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] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ > <https://groups.google.com/a/apereo.org/group/cas-user/>. > > -- > 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] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/ > <https://groups.google.com/a/apereo.org/group/cas-user/>. -- 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]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
