Interface HvlAuthzPasswordRestrictionRestService
- All Known Implementing Classes:
HvlAuthzPasswordRestrictionRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="passwordRestrictionPublicRestService",
path="${hvl.oauth.authz.service.password-restriction.path:/user-password-restrictions}",
url="${hvl.oauth.authz.service.password-restriction.url:${hvl.oauth.authz.service.url}}")
public interface HvlAuthzPasswordRestrictionRestService
A restful service which provides specific query methods for password restriction.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthPasswordRestrictionModel>
Gets password restriction by uuid.tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthPasswordRestrictionModel>>
queryList
(@NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a list of password restriction matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthPasswordRestrictionModel>>
queryPage
(@NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a page of password restriction matching the query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthPasswordRestrictionModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Gets password restriction by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryList
@PostMapping(path="/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthPasswordRestrictionModel>> queryList(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a list of password restriction matching the query criteria.- Parameters:
passwordRestrictionQueryModel
- the password restriction query model- Returns:
- the hvl response
-
queryPage
@PostMapping(path="/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthPasswordRestrictionModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a page of password restriction matching the query criteria.- Parameters:
passwordRestrictionQueryModel
- the password restriction query model- Returns:
- the hvl response
-