Interface HvlAuthzTrustedProxyOperationalRestService

All Known Implementing Classes:
HvlAuthzTrustedProxyRestController

@Validated @HvlPrivateFeignRestService @FeignClient(name="trustedProxyRestService", path="${hvl.oauth.authz.service.trusted-proxy.path:/trusted-proxies}", url="${hvl.oauth.authz.service.trusted-proxy.url:${hvl.oauth.authz.service.url}}") public interface HvlAuthzTrustedProxyOperationalRestService
A restful service which provides specific operational methods for trusted proxy.
  • Method Details

    • save

      @PostMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> save(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthTrustedProxyCopiablePersistModel trustedProxyCopiablePersistModel)
      Save trusted proxy.
      Parameters:
      trustedProxyCopiablePersistModel - the trusted proxy copiable persist model
      Returns:
      the hvl response
    • update

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlConstraintGroups.ModifyingOperation.class) @PutMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> update(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthTrustedProxyPersistModel trustedProxyPersistModel)
      Update trusted proxy.
      Parameters:
      trustedProxyPersistModel - the trusted proxy persist model
      Returns:
      the hvl response
    • deleteByUuid

      @DeleteMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deleteByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid)
      Delete trusted proxy by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response
    • deleteTrustedProxyBelongsToCurrentUserByUuid

      @DeleteMapping(path="/delete/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<Void> deleteTrustedProxyBelongsToCurrentUserByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid)
      Delete trusted proxy that belongs to current user by uuid.
      Parameters:
      uuid - the uuid
      Returns:
      the hvl response