{ "@class": "org.apereo.cas.authentication.principal.SimplePrincipal", "id": "TEST01", "attributes": { "eduPersonAffiliation": ["employee", "member"], "bciCodeEtablissement": "123456", "bciMatricule": "NULL_VALUE", "mail": "test...@test.com", "sn": "Test", "givenName": "Test", "displayName": "test Test", "isMemberOf": ["na...@test.com", "registr...@test.com", "abc-scien...@test.com", "klm-etude...@test.com", "klm-etude...@test.com", "klm-prap...@test.com", "klm.sans...@test.com"] } }
private Map<String, Object> attributes = new HashMap<>(); |
.configure(DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT, true);