Hello,

How to use REST Attribute Release Policy? REST Endpoint filled with? I 
tried to do something stupid, I route (on my website) to give a JSON 200 
response with a response:

*https://try.example.com/json-output* respon
{
  "@class" : "org.apereo.cas.services.RegexRegisteredService",
  "serviceId" : "^https://client.example.com(\\z|\/.*)",
  "name" : "Return Restful",
  "id" : 300,
  "description" : "Test RESTful Attribute Release Policy",
  "attributeReleasePolicy" : {
    "@class" : "org.apereo.cas.services.ReturnMappedAttributeReleasePolicy",
    "allowedAttributes" : {
      "@class" : "java.util.TreeMap",
      "email" : "email",
      "name" : "name",
      "phone" : "phone"

    }
  }
}


Oops! The test failed. I mean that the service releases attributes based on 
the released attribute list (JSON). How to use the REST? Sorry if my 
question is a little stupid.

Thankyou
Fahmi

*https://github.com/sentrasoft/laravel-cas*



-- 
- 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/c2829dfc-7eb5-46f4-97c0-898df8f07bed%40apereo.org.

Reply via email to