| | |
| | | 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; |
| | |
| | | |
| | | @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") |