[cas-user] Re: CAS 5.2. Custom login page. Add more required item login

2017-12-26 Thread J0ny Trinh
Thank Abylay. I've discovery source code of CAS. I dont know the flow transposting data from form to DB such as: login form -> set data into credential -> Get config attributes -> Authentication by JDBC -> AuthenticationDao, etc So hard. Vào 19:06:09 UTC+7 Thứ Ba, ngày 26 tháng 12 năm 2017,

[cas-user] Re: "Ticket cannot be null" - CAS 5.2.0 using OAuth2 Authentication Code

2017-12-26 Thread Diego Henrique Pagani
Is there someone who have this kind of problem? Em quinta-feira, 21 de dezembro de 2017 14:57:24 UTC-2, Diego Henrique Pagani escreveu: > > Hello, > > i'm trying to set up my application to log in CAS 5.2.0 using OAuth2 > protocol. When I try to get the access token, CAS server returns 500 cod

[cas-user] Question about configure attribute release policy

2017-12-26 Thread Elena
Hello. I want to set attributeReleasePolicy in service (json). I have two attribute - role, firstname - and then I want to return attribute only "role". So I registry service like this. --- cas service.json { "@class": "org.apereo.cas.services.RegexRegisteredService", "se

[cas-user] Re: CAS 5.2. Custom login page. Add more required item login

2017-12-26 Thread Abylay
Though first you need to add new field in "loginform.html". On Tuesday, December 26, 2017 at 6:04:58 PM UTC+6, Abylay wrote: > > You can redefine file login-webflow.xml and bind new property > to credential. Just like properties "username", "password" are done already. > Then new property will be

[cas-user] Re: CAS 5.2. Custom login page. Add more required item login

2017-12-26 Thread Abylay
You can redefine file login-webflow.xml and bind new property to credential. Just like properties "username", "password" are done already. Then new property will be available from "credential" to use whenever you choose to. On Monday, December 25, 2017 at 1:04:51 PM UTC+6, J0ny Trinh wrote: > >