Class UIDatasetSupport


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

      • getUIConfig

        @GetMapping("/ui/config")
        @Transactional
        public UIConfigView getUIConfig()
        GET /ui/config : get all ui and crypto configurations.
        Returns:
        the UIConfigView .
      • getWebPipelines

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

        @GetMapping("/pipeline/activeWeb")
        @Transactional
        public List<PipelineView> activeWeb()
        GET /pipeline/activeWeb : 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 .
      • getCertificateSelectionAttributes

        @GetMapping("/certificateSelectionAttributes")
        public org.springframework.http.ResponseEntity<List<String>> getCertificateSelectionAttributes()
      • 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 .