From b88dc318a53c0d36b2738decd689033dac7a215e Mon Sep 17 00:00:00 2001
From: Andre Piantino <andre.piantino@tjsc.jus.br>
Date: Tue, 21 Feb 2023 09:12:13 +0000
Subject: [PATCH] Improved event log

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

diff --git a/src/main/java/org/keycloak/protocol/cas/utils/ServiceResponseMarshaller.java b/src/main/java/org/keycloak/protocol/cas/utils/ServiceResponseMarshaller.java
index a5aa6ac..d1b9d58 100644
--- a/src/main/java/org/keycloak/protocol/cas/utils/ServiceResponseMarshaller.java
+++ b/src/main/java/org/keycloak/protocol/cas/utils/ServiceResponseMarshaller.java
@@ -5,7 +5,7 @@
 import com.fasterxml.jackson.core.util.DefaultIndenter;
 import com.fasterxml.jackson.core.util.DefaultPrettyPrinter;
 import com.fasterxml.jackson.databind.ObjectMapper;
-import org.keycloak.protocol.cas.representations.CasServiceResponse;
+import org.keycloak.protocol.cas.representations.CASServiceResponse;
 
 import javax.xml.bind.JAXBContext;
 import javax.xml.bind.JAXBException;
@@ -23,9 +23,9 @@
     private ServiceResponseMarshaller() {
     }
 
-    public static String marshalXml(CasServiceResponse serviceResponse) {
+    public static String marshalXml(CASServiceResponse serviceResponse) {
         try {
-            JAXBContext jaxbContext = JAXBContext.newInstance(CasServiceResponse.class);
+            JAXBContext jaxbContext = JAXBContext.newInstance(CASServiceResponse.class);
             Marshaller marshaller = jaxbContext.createMarshaller();
             //disable xml header
             marshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);
@@ -39,7 +39,7 @@
         }
     }
 
-    public static String marshalJson(CasServiceResponse serviceResponse) {
+    public static String marshalJson(CASServiceResponse serviceResponse) {
         ObjectMapper mapper = new ObjectMapper();
         mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
         //Force newlines to be LF (default is system dependent)

--
Gitblit v1.9.1