Interface HvlAuthzTrustedProxyRestService
- All Known Implementing Classes:
HvlAuthzTrustedProxyRestController
@Validated
@HvlPublicFeignRestService
@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 HvlAuthzTrustedProxyRestService
A restful service which provides specific methods for proxy.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthTrustedProxyModel> Gets trusted proxy by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthTrustedProxyDataModel>> queryBorrowedDataPage
(@NotNull @Valid HvlOAuthTrustedProxyQueryModel trustedProxyQueryModel) Returns a page of borrowed trusted proxy matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse
<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthTrustedProxyDataModel>> queryDelegatedDataPage
(@NotNull @Valid HvlOAuthTrustedProxyQueryModel trustedProxyQueryModel) Returns a page of delegated trusted proxy matching the query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthTrustedProxyModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Gets trusted proxy by uuid.- Parameters:
uuid
- the uuid- Returns:
- the trusted proxy by uuid
-
queryDelegatedDataPage
@PostMapping(path="/data/delegated/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthTrustedProxyDataModel>> queryDelegatedDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthTrustedProxyQueryModel trustedProxyQueryModel) Returns a page of delegated trusted proxy matching the query criteria.- Parameters:
trustedProxyQueryModel
- the trusted proxy query model- Returns:
- the trusted proxy data page
-
queryBorrowedDataPage
@PostMapping(path="/data/borrowed/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthTrustedProxyDataModel>> queryBorrowedDataPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthTrustedProxyQueryModel trustedProxyQueryModel) Returns a page of borrowed trusted proxy matching the query criteria.- Parameters:
trustedProxyQueryModel
- the trusted proxy query model- Returns:
- the trusted proxy data page
-