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/CASLoginProtocolService.java |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java
index 7db732f..bed2b3c 100644
--- a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java
+++ b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java
@@ -12,10 +12,7 @@
 import org.keycloak.services.resources.RealmsResource;
 
 import javax.ws.rs.Path;
-import javax.ws.rs.core.Context;
-import javax.ws.rs.core.HttpHeaders;
-import javax.ws.rs.core.UriBuilder;
-import javax.ws.rs.core.UriInfo;
+import javax.ws.rs.core.*;
 
 public class CASLoginProtocolService {
     private RealmModel realm;
@@ -72,12 +69,13 @@
 
     @Path("proxyValidate")
     public Object proxyValidate() {
-        return null;
+        //TODO implement
+        return serviceValidate();
     }
 
     @Path("proxy")
     public Object proxy() {
-        return null;
+        return Response.serverError().entity("Not implemented").build();
     }
 
     @Path("p3/serviceValidate")

--
Gitblit v1.9.1