Class UIDatasetSupport
- java.lang.Object
-
- de.trustable.ca3s.core.web.rest.support.UIDatasetSupport
-
@RestController @RequestMapping("/api") public class UIDatasetSupport extends ObjectREST controller for processing PKCS10 requests and Certificates.
-
-
Constructor Summary
Constructors Constructor Description UIDatasetSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PipelineView>getActiveWebPipelines()GET /pipeline/getActiveWebPipelines: get all active pipelines for web upload.List<CAConnectorConfig>getAllCAConnectorConfigs()GET /ca-connector-configs/cert-generators: get all elements able to create a certificate.CAStatusgetCAConnectorStatus(@Valid CAConnectorConfig cAConnectorConfig)POST /ca-connector-configs/getStatus: get all elements able to create a certificate.org.springframework.http.ResponseEntity<CertificateFilterList>getFilterList(String name)GET userProperties/{name}: get user properties for the given name and the logged-in user.org.springframework.http.ResponseEntity<UserPreference>getUserProperties(String name)GET userProperties/{name}: get user properties for the given name and the logged-in user.List<PipelineView>getWebPipelines()GET /pipeline/getWebPipelines: get all pipelines for web upload.org.springframework.http.ResponseEntity<UserPreference>putUserProperties(String name, CertificateFilterList filterList)PUT userProperties/filterList/{name}: put the filter list settings for this user into his properties.
-
-
-
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.
-
-