I do not see where you specify the service registry location in
cas.properties:
https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#json-service-registry


Le ven. 22 févr. 2019 10:31, Pameliya Mukherjee <
pameliya.mukherj...@gmail.com> a écrit :

> I am using CAS 5.3.8.
>
> I have created the service like below and kept the file in
> etc\cas\services:
>
> {
>    "@class" : "org.apereo.cas.services.RegexRegisteredService",
>   "serviceId" : "^https://.+";,
>   "name" :      "SAML Authentication Request",
>   "id" : 20190219131300,
>   "accessStrategy" : {
>     "@class" :
> "org.apereo.cas.services.RemoteEndpointServiceAccessStrategy",
>     "endpointUrl" : "
> https://cas.example.org/idp/profile/SAML2/Redirect/SSO";,
>     "acceptableResponseCodes" : "200,202"
>   }
> }
>
> CAS properties like:
> cas.authn.samlIdp.entityId=https://cas.example.org/cas/idp
> cas.authn.samlIdp.scope=example.org
>
>
> On Friday, February 22, 2019 at 12:40:16 PM UTC+5:30, Pameliya Mukherjee
> wrote:
>>
>> While I am hitting an endpoint like : "
>> https://localhost:8443/cas/login?service=https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO&entityId=https://cas.org.example/cas/idp
>> "
>>
>> I am getting error like:
>>
>> 2019-02-22 12:31:13,015 WARN
>> [org.apereo.cas.web.flow.ServiceAuthorizationCheck] -<*Service
>> Management: missing service. Service
>> [https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO
>> <https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO>] is not found
>> in service registry.>*
>> 2019-02-22 12:31:13,017 WARN
>> [org.apereo.cas.services.web.RegisteredServiceThemeResolver] - <*No
>> registered service is found to match
>> [AbstractWebApplicationService(id=https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO
>> <https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO>,
>> originalUrl=https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO
>> <https://cas.example.org/cas/idp/profile/SAML2/Redirect/SSO>,
>> artifactId=null, principal=null, source=service, loggedOutAlready=false,
>> format=XML, attributes={})] or access is denied. Using default theme
>> [cas-theme-default]>*
>>
>> *Please Help. I am new to this.*
>>
>> --
> - 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/765da512-fd68-4fcd-8df5-b95e98154bd8%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/765da512-fd68-4fcd-8df5-b95e98154bd8%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/CAFkC%3DrEG90PoxPfZR-oTWVYQzsCAV2mpJWiv%2BmmrEdwhTDQjyw%40mail.gmail.com.

Reply via email to