[cas-user] CAS 6.1 RC5 Release Announcement

2019-09-02 Thread Misagh Moayyed
CAS 6.1 RC5 is released: https://github.com/apereo/cas/releases/tag/v6.1.0-RC5 -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are

[cas-user] Re: CAS Custom Authentication Handler Principal JSON Problem

2019-09-02 Thread Cemal Önder
Because after calling mergeAttributes of DefaultAuthenticationResultBuilder class, everything in the Principal is returned as List. 2 Eylül 2019 Pazartesi 12:12:51 UTC+3 tarihinde Cemal Önder yazdı: > > Hi everyone, > > I have a JSON problem while returning custom attributes in my custom >

[cas-user] Re: CAS Custom Authentication Handler Principal JSON Problem

2019-09-02 Thread Cemal Önder
And when I look for the CAS for how it handles Principal, it merges everything as LinkedList. So for that reason whatever I add in the Object of Map section, it returns as array in the JSON representation like []. Which means when I add attributes.put("name", "ExampleName"), it returns as

[cas-user] CAS Custom Authentication Handler Principal JSON Problem

2019-09-02 Thread Cemal Önder
Hi everyone, I have a JSON problem while returning custom attributes in my custom authentication handler: return createHandlerResult( credential, this.getPrincipalFactory( ).createPrincipal( credential.getId( ), attributes) ); which createPrincipal method accepts Map Principal