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 | 13 ++++--------- 1 files changed, 4 insertions(+), 9 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..861742a 100644 --- a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java +++ b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocolService.java @@ -12,17 +12,11 @@ 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; private EventBuilder event; - - @Context - private UriInfo uriInfo; @Context private KeycloakSession session; @@ -72,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