From 8379a316bc051ff05ac2fb06671871ab82f01feb Mon Sep 17 00:00:00 2001 From: Phy <git@phy25.com> Date: Wed, 06 May 2020 00:52:58 +0000 Subject: [PATCH] Update to Keycloak 9.0.0 and apply API change --- src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponseAuthenticationSuccess.java | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponseAuthenticationSuccess.java b/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponseAuthenticationSuccess.java index 30a37c6..3ef7754 100644 --- a/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponseAuthenticationSuccess.java +++ b/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponseAuthenticationSuccess.java @@ -10,12 +10,12 @@ @XmlAccessorType(XmlAccessType.FIELD) public class CASServiceResponseAuthenticationSuccess { private String user; + @XmlJavaTypeAdapter(AttributesMapAdapter.class) + private Map<String, Object> attributes; private String proxyGrantingTicket; @XmlElementWrapper @XmlElement(name="proxy") private List<String> proxies; - @XmlJavaTypeAdapter(AttributesMapAdapter.class) - private Map<String, Object> attributes; public String getUser() { return this.user; @@ -23,6 +23,14 @@ public void setUser(final String user) { this.user = user; + } + + public Map<String, Object> getAttributes() { + return this.attributes; + } + + public void setAttributes(final Map<String, Object> attributes) { + this.attributes = attributes; } public String getProxyGrantingTicket() { @@ -39,13 +47,5 @@ public void setProxies(final List<String> proxies) { this.proxies = proxies; - } - - public Map<String, Object> getAttributes() { - return this.attributes; - } - - public void setAttributes(final Map<String, Object> attributes) { - this.attributes = attributes; } } -- Gitblit v1.9.1