Use version 5.1.0-RC2 or 5.0.3.1 in your overlay.

Cheers,
D.


From: Ivan Cordon <[email protected]>
Reply: [email protected] <[email protected]>
Date: March 1, 2017 at 8:31:12 AM
To: CAS Community <[email protected]>
Subject:  [cas-user] Re: Attributes in Rest Authentication 5.0.1  

I think this bug is related with my issue:

https://github.com/apereo/cas/issues/2362


I build CAS with overlay installation. How can I apply this patch?


Thanks


El martes, 28 de febrero de 2017, 14:01:22 (UTC+1), Ivan Cordon escribió:
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.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/b61bbb2c-3784-471d-b95a-e706f7cafef0%40apereo.org.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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/etPan.58b6d419.3b3a2181.36f%40unicon.net.

Reply via email to