From cbb2f2f81452a97fddbdcc1f6010fbc85682e3b3 Mon Sep 17 00:00:00 2001
From: Erlend Hamnaberg <erlend@hamnaberg.net>
Date: Thu, 29 Nov 2018 07:42:20 +0000
Subject: [PATCH] Redirect to application after login is complete

---
 src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java
index 9d3e27d..861742a 100644
--- a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java
+++ b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java
@@ -19,9 +19,6 @@
     private EventBuilder event;
 
     @Context
-    private UriInfo uriInfo;
-
-    @Context
     private KeycloakSession session;
 
     @Context
@@ -69,12 +66,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