From aa6e6a1e19d585435a0e3b84c8d93396998907ba Mon Sep 17 00:00:00 2001
From: Daniel Ramos <daramos@fsw.edu>
Date: Tue, 29 Mar 2022 21:13:09 +0000
Subject: [PATCH] validate endpoint should also return username

---
 src/main/java/org/keycloak/protocol/cas/utils/AttributesMapAdapter.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/keycloak/protocol/cas/utils/AttributesMapAdapter.java b/src/main/java/org/keycloak/protocol/cas/utils/AttributesMapAdapter.java
index ca8f7ed..8afc07b 100644
--- a/src/main/java/org/keycloak/protocol/cas/utils/AttributesMapAdapter.java
+++ b/src/main/java/org/keycloak/protocol/cas/utils/AttributesMapAdapter.java
@@ -1,6 +1,6 @@
 package org.keycloak.protocol.cas.utils;
 
-import org.keycloak.protocol.cas.representations.CasServiceResponse;
+import org.keycloak.protocol.cas.representations.CASServiceResponse;
 
 import javax.xml.bind.JAXBElement;
 import javax.xml.bind.annotation.XmlAccessType;
@@ -50,7 +50,7 @@
 
         private void addElement(String name, Object value) {
             if (value != null) {
-                String namespace = CasServiceResponse.class.getPackage().getAnnotation(XmlSchema.class).namespace();
+                String namespace = CASServiceResponse.class.getPackage().getAnnotation(XmlSchema.class).namespace();
                 elements.add(new JAXBElement<>(new QName(namespace, name), String.class, value.toString()));
             }
         }

--
Gitblit v1.9.1