okey. i found the solution.
in rest response, i provided "id" and "attributes". but when i add "@class"
variable, it works.
@Data
private static class ResponseDTO {
@JsonProperty("@class")
private String clazz;
private String id;
private final Map<String, Object> attributes;
ResponseDTO(String id) {
this.id = id;
clazz = "org.apereo.cas.authentication.principal.SimplePrincipal";
attributes = new HashMap<>();
}
}
--
- 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 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/580d9bd0-fad1-4d6d-8f33-cd4dc2cdb60a%40apereo.org.