Class CASAuthController


  • @Controller
    @RequestMapping("/cas")
    public class CASAuthController
    extends AbstractController
    • Constructor Detail

      • CASAuthController

        public CASAuthController()
    • Method Detail

      • getDocurl

        @RequestMapping(value="/enabled",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<String> getDocurl​(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response)
      • serviceValidate

        @RequestMapping(value="serviceValidate",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<Object> serviceValidate​(javax.servlet.http.HttpServletResponse theHttpResponse,
                                                    @RequestParam("ticket")
                                                    String ticket,
                                                    @RequestParam("service")
                                                    String service)
        Parameters:
        theHttpResponse - HttpServletResponse
        ticket - Ticket from CAS
        service - Service from CAS
        Returns:
        data JsonResponse
      • getRestTemplate

        public org.springframework.web.client.RestTemplate getRestTemplate​(String webapiUrl)