Class CRLExpirationNotificationViewResource


  • @RestController
    @RequestMapping("/api")
    public class CRLExpirationNotificationViewResource
    extends Object
    REST controller for managing CRLExpirationNotification.
    • Method Detail

      • getAllCertificates

        @GetMapping("/crl-expiration-notification-views")
        @PreAuthorize("hasRole(\"ROLE_ADMIN\")")
        public org.springframework.http.ResponseEntity<List<CRLExpirationNotificationView>> getAllCertificates​(org.springframework.data.domain.Pageable pageable,
                                                                                                               javax.servlet.http.HttpServletRequest request)
        GET /certificates : get all the certificates.
        Parameters:
        pageable - the pagination information.
        Returns:
        the ResponseEntity with status 200 (OK) and the list of certificates in body.
      • getCRLExpirationNotificationView

        @GetMapping("/crl-expiration-notification-views/{id}")
        @PreAuthorize("hasRole(\"ROLE_ADMIN\")")
        public org.springframework.http.ResponseEntity<CRLExpirationNotificationView> getCRLExpirationNotificationView​(@PathVariable
                                                                                                                       Long id)
        GET /crl-expiration-notifications/:id : get the "id" cRLExpirationNotification.
        Parameters:
        id - the id of the cRLExpirationNotification to retrieve.
        Returns:
        the ResponseEntity with status 200 (OK) and with body the cRLExpirationNotification, or with status 404 (Not Found).