From 1293d5189bfdc7c46fc456f52126b81febf23df8 Mon Sep 17 00:00:00 2001 From: Matthias Piepkorn <mpiepk@gmail.com> Date: Mon, 22 Jan 2018 12:00:27 +0000 Subject: [PATCH] remove dependency on internal SAML packages --- 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