Class TicketStatusResource
- java.lang.Object
-
- org.apereo.cas.support.rest.resources.TicketStatusResource
-
@RestController("ticketStatusResourceRestController") public class TicketStatusResource extends java.lang.ObjectRestControllerimplementation of CAS' REST API.This class implements main CAS RESTful resource for vending/deleting TGTs and vending STs:
POST /v1/ticketsPOST /v1/tickets/{TGT-id}GET /v1/tickets/{TGT-id}DELETE /v1/tickets/{TGT-id}
- Since:
- 4.1.0
-
-
Constructor Summary
Constructors Constructor Description TicketStatusResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<java.lang.String>getTicketStatus(java.lang.String id)Determine the status of a given ticket id, whether it's valid, exists, expired, etc.
-
-
-
Method Detail
-
getTicketStatus
@GetMapping("/v1/tickets/{id:.+}") public org.springframework.http.ResponseEntity<java.lang.String> getTicketStatus(@PathVariable("id") java.lang.String id)Determine the status of a given ticket id, whether it's valid, exists, expired, etc.- Parameters:
id- ticket id- Returns:
ResponseEntityrepresenting RESTful response
-
-