Yes, I have it in. I also don't know what happened but I just did another restart of tomcat and it looks like everything is working now. Didn't change a thing from when it wasn't working till now so not exactly sure what went wrong. Maybe just a long configuration load time?
Thank you all for helping! Also Dave, your tutorial is pretty awesome! On Tue, Feb 20, 2018 at 7:47 AM, David Curry <[email protected]> wrote: > Assuming "the services directory" means you're trying to use an external > directory full of JSON service definitions, do you have > > <dependency> > <groupId>org.apereo.cas</groupId> > <artifactId>cas-server-support-json-service-registry</artifactId> > <version>${cas.version}</version> > </dependency> > > in your pom.xml and > > cas.serviceRegistry.json.location: file:/etc/cas/services > > > (whatever directory path you want) in cas.properties? > > --Dave > > > -- > > DAVID A. CURRY, CISSP > *DIRECTOR OF INFORMATION SECURITY* > INFORMATION TECHNOLOGY > > 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 > <https://maps.google.com/?q=71+FIFTH+AVE.,+9TH+FL.,+NEW+YORK,+NY+10003&entry=gmail&source=g> > +1 212 229-5300 x4728 <(212)%20229-5300> • [email protected] > > [image: The New School] > > On Tue, Feb 20, 2018 at 8:41 AM, Kevin Liu <[email protected]> wrote: > >> I've added and it looks like CAS is just not picking up on any of the >> services directory. It doesn't show as registering the service. >> >> >> On Monday, February 19, 2018 at 12:55:18 PM UTC-6, rbon wrote: >> >>> Put these into the log config to verify that the services you want are >>> correct: >>> >>> <!-- INFO Loaded [#] service(s) from [???ServiceRegistryDAO] >>> DEBUG Adding registered service [service URL] --> >>> <AsyncLogger name="org.apereo.cas.services.AbstractServicesManager" >>> level="debug" /> >>> >>> <!-- DEBUG Publishing event [service details] --> >>> <AsyncLogger >>> name="org.apereo.cas.services.AbstractServiceRegistryDao" >>> level="debug"/> >>> >>> <!-- INFO Grented ticket [...] for service [...] for user [...] >>> DEBUG Resolved service [limited details about service] >>> Located registered service definition [service >>> details] --> >>> <AsyncLogger >>> name="org.apereo.cas.DefaultCentralAuthenticationService" >>> level="debug" /> >>> >>> Ray >>> >>> On Mon, 2018-02-19 at 09:24 -0800, Kevin Liu wrote: >>> >>> I'm trying to access https://xxx.xxx.xxx.xxx:xxxx/cas1/status/dashboard >>> >>> On Monday, February 19, 2018 at 11:01:33 AM UTC-6, rbon wrote: >>> >>> Kevin, >>> >>> What is the URL that you are trying to access? >>> >>> Ray >>> >>> On Mon, 2018-02-19 at 08:34 -0800, Kevin Liu wrote: >>> >>> This is my current entry in service registry >>> >>> { >>> "@class" : "org.apereo.cas.services.RegexRegisteredService", >>> "serviceId" : "^https://xxx.xxx.xxx.xxx:xxxx >>> /cas1/status/dashboard(\\z|/.*)", >>> "name" : "CAS Admin Dashboard", >>> "id" : 1509646291, >>> "description" : "CAS dashboard and administrative endpoints", >>> "evaluationOrder" : 5000 >>> } >>> >>> >>> On Monday, February 19, 2018 at 9:06:00 AM UTC-6, David Curry wrote: >>> >>> Do you have an entry in the service registry that matches the service? >>> >>> { >>> "@class" : "org.apereo.cas.services.RegexRegisteredService", >>> "serviceId" : "^https://xxx.xxx.xxx.xxx/cas1/status/dashboard(\\z|/.*) >>> ", >>> "name" : "CAS Admin Dashboard", >>> "id" : 123456789, >>> "description" : "CAS dashboard and administrative endpoints", >>> "evaluationOrder" : 12345 >>> } >>> >>> Or something like that. >>> >>> --Dave >>> >>> >>> -- >>> >>> DAVID A. CURRY, CISSP >>> *DIRECTOR OF INFORMATION SECURITY* >>> INFORMATION TECHNOLOGY >>> >>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 >>> <https://maps.google.com/?q=71+FIFTH+AVE.,+9TH+FL.,+NEW+YORK,+NY+10003&entry=gmail&source=g> >>> +1 212 229-5300 x4728 <(212)%20229-5300> • [email protected] >>> >>> [image: The New School] >>> >>> On Mon, Feb 19, 2018 at 9:33 AM, Kevin Liu <[email protected]> wrote: >>> >>> Hello, >>> >>> I'm trying to enable access to the Dashboard with the default >>> casuser:Mellon account but I'm running into an Application Not Authorized >>> to Use CAS. This is my cas.properties file. I can't figure out what I'm >>> missing? Looking online, it seems I need a registry of some sort but I >>> can't find additional documentation on it. >>> >>> >>> cas.server.name: https://xxx.xxx.xxx.xxx >>> cas.server.prefix: https://xxx.xxx.xxx.xxx/cas1 >>> >>> logging.config: file:/etc/cas1/config/log4j2.xml >>> >>> endpoints.enabled=true >>> endpoints.sensitive=false >>> cas.adminPagesSecurity.ip=192.168.x.xx >>> cas.monitor.endpoints.enable=true >>> cas.monitor.endpoints.sensitive=false >>> cas.adminPagesSecurity.actuatorEndpointsEnabled=true >>> >>> >>> cas.adminPagesSecurity.loginUrl=${cas.server.prefix}/login >>> cas.adminPagesSecurity.service=${cas.server.prefix}/status/dashboard >>> cas.adminPagesSecurity.users=file:/etc/cas1/config/adminusers.properties >>> cas.adminPagesSecurity.adminRoles[0]=ROLE_ADMIN >>> >>> Am I missing anything? >>> >>> -- >>> - 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/ap >>> ereo.org/d/msgid/cas-user/f80f5c5d-f27d-4fa4-af85-45a3063513 >>> 83%40apereo.org >>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/f80f5c5d-f27d-4fa4-af85-45a306351383%40apereo.org?utm_medium=email&utm_source=footer> >>> . >>> >>> >>> >>> -- >>> Ray Bon >>> Programmer analyst >>> Development Services, University Systems2507218831 <(250)%20721-8831> | CLE >>> 019 | [email protected] >>> >>> >>> -- >>> Ray Bon >>> Programmer analyst >>> Development Services, University Systems2507218831 <(250)%20721-8831> | CLE >>> 019 | [email protected] >>> >>> -- >> - 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/ap >> ereo.org/d/msgid/cas-user/ff038326-4415-4650-92f9-569aca4942 >> f3%40apereo.org >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ff038326-4415-4650-92f9-569aca4942f3%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 a topic in the > Google Groups "CAS Community" group. > To unsubscribe from this topic, visit https://groups.google.com/a/ > apereo.org/d/topic/cas-user/RiOeRX2fSw4/unsubscribe. > To unsubscribe from this group and all its topics, 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/CA%2Bd9XAOqbxWEDqcdDGyC- > S3YPqD0G%3Dd8K4DF1-t4d7LMYh5K%2BA%40mail.gmail.com > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAOqbxWEDqcdDGyC-S3YPqD0G%3Dd8K4DF1-t4d7LMYh5K%2BA%40mail.gmail.com?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 [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAOi_oa0NFPVoVyh%3DiqE9xaUEgSwRbb_ZosqKnHt0VU4TiaPSpw%40mail.gmail.com.
