Great! with 5.0.3 it's running, Is there some option in which if the value of property is not iqual to certain value, reject authentication?
El miércoles, 1 de marzo de 2017, 15:01:03 (UTC+1), Dmitriy Kopylenko escribió: > > Use version *5.1.0-RC2 *or *5.0.3.1* in your overlay. > > Cheers, > D. > > > From: Ivan Cordon <[email protected]> <javascript:> > Reply: [email protected] <javascript:> <[email protected]> <javascript:> > Date: March 1, 2017 at 8:31:12 AM > To: CAS Community <[email protected]> <javascript:> > 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] <javascript:>. > 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 > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/b61bbb2c-3784-471d-b95a-e706f7cafef0%40apereo.org?utm_medium=email&utm_source=footer> > . > > -- - 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/7a61ec8c-c4ec-4204-8d87-fe00becc5981%40apereo.org.
