Hi
I'm trying to configure REST authentication in last release version. My rest service returns message as is describen in doc:
HTTP/1.1 200 OK
Server: Restlet-Framework/2.3.6
Breadcrumbid: ID-itesda01-59718-1488284985222-0-1
Date: Tue, 28 Feb 2017 12:29:48 GMT
Content-type: application/json
Content-length: 44
{"id":"ivan","attributes":{"appl":"000111"}}
If I don't fill any CAS attribute en "service acces Strategy", I can login with my example client service. Otherwise, if I mark appl as my attribute required, I can't get loging because attributes is empty:
2017-02-28 13:52:01,764 INFO [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - <Authenticated principal [ivan] and attributes {} with credentials [ivan].>
Anybody know how my rest service has to return the credentials?
Thanks in advance.