[cas-user] Re: CAS 5.2 Getting more attributes from CAS than just user id

2017-12-21 Thread J0ny Trinh
Thanks Edward. It''s nice Vào 17:56:08 UTC+7 Thứ Năm, ngày 21 tháng 12 năm 2017, Edward đã viết: > > Hi Jony > you may refer to this guide > https://apereo.github.io/2017/02/22/cas51-dbauthn-tutorial/ > > i have tried it and it work like charm. ;) > > On Thursday, 21 December 2017 16:08:40 UTC+8,

Re: [cas-user] Re: CAS 5.2 Getting more attributes from CAS than just user id

2017-12-21 Thread Robert Oschwald
If the attributes are stored in the same records as the authentication, CAS needs a second query to the same db to fetch the attributes. Thats the reason why I built the DirectMappedPersonAttributeDao, which you can inject into your authentication handler to directly set the attributes in one go

[cas-user] Re: CAS 5.2 Getting more attributes from CAS than just user id

2017-12-21 Thread Edward
Hi Jony you may refer to this guide https://apereo.github.io/2017/02/22/cas51-dbauthn-tutorial/ i have tried it and it work like charm. ;) On Thursday, 21 December 2017 16:08:40 UTC+8, J0ny Trinh wrote: > > I update a little > > Vào 14:26:05 UTC+7 Thứ Năm, ngày 21 tháng 12 năm 2017, J0ny Trinh đã

[cas-user] Re: CAS 5.2 Getting more attributes from CAS than just user id

2017-12-21 Thread J0ny Trinh
I update a little Vào 14:26:05 UTC+7 Thứ Năm, ngày 21 tháng 12 năm 2017, J0ny Trinh đã viết: > > I am using CAS version 5.2 with JDBC Authentication handler and was > wondering is it possible to get the other attributes of principal object > (for e.g. password(original), firstname, lastname) not