Class UIDatasetSupport


  • @RestController
    @RequestMapping("/api")
    public class UIDatasetSupport
    extends Object
    REST controller for processing PKCS10 requests and Certificates.
    • Constructor Detail

      • UIDatasetSupport

        public UIDatasetSupport()
    • Method Detail

      • getWebPipelines

        @GetMapping("/pipeline/getWebPipelines")
        @Transactional
        public List<PipelineView> getWebPipelines()
        GET /pipeline/getWebPipelines : get all pipelines for web upload.
        Returns:
        the Pipeline .
      • getActiveWebPipelines

        @GetMapping("/pipeline/getActiveWebPipelines")
        @Transactional
        public List<PipelineView> getActiveWebPipelines()
        GET /pipeline/getActiveWebPipelines : get all active pipelines for web upload.
        Returns:
        the Pipeline .
      • getAllCAConnectorConfigs

        @GetMapping("/ca-connector-configs/cert-generators")
        @PreAuthorize("isAuthenticated()")
        public List<CAConnectorConfig> getAllCAConnectorConfigs()
        GET /ca-connector-configs/cert-generators : get all elements able to create a certificate.
        Returns:
        the CAConnectorConfig .
      • getCAConnectorStatus

        @PostMapping("/ca-connector-configs/getStatus")
        @PreAuthorize("isAuthenticated()")
        public CAStatus getCAConnectorStatus​(@Valid @RequestBody
                                             @Valid CAConnectorConfig cAConnectorConfig)
        POST /ca-connector-configs/getStatus : get all elements able to create a certificate.
        Parameters:
        cAConnectorConfig - CAConnectorConfig
        Returns:
        the CAStatus .
      • getUserProperties

        @GetMapping("/userProperties/{name}")
        public org.springframework.http.ResponseEntity<UserPreference> getUserProperties​(@PathVariable
                                                                                         String name)
        GET userProperties/{name} : get user properties for the given name and the logged-in user.
        Returns:
        the UserPreference .
      • getFilterList

        @GetMapping("/userProperties/filterList/{name}")
        public org.springframework.http.ResponseEntity<CertificateFilterList> getFilterList​(@PathVariable
                                                                                            String name)
        GET userProperties/{name} : get user properties for the given name and the logged-in user.
        Returns:
        the UserPreference .
      • putUserProperties

        @PutMapping("/userProperties/filterList/{name}")
        public org.springframework.http.ResponseEntity<UserPreference> putUserProperties​(@PathVariable
                                                                                         String name,
                                                                                         @RequestBody
                                                                                         CertificateFilterList filterList)
        PUT userProperties/filterList/{name} : put the filter list settings for this user into his properties.
        Returns:
        the UserPreference .