Interface HvlAuthzUserPasswordPolicyRestService
- All Known Implementing Classes:
HvlAuthzUserPasswordPolicyRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="userPasswordPolicyPublicRestService",
path="${hvl.oauth.authz.service.user.password-policy.path:/user-password-policies}",
url="${hvl.oauth.authz.service.user.password-policy.url:${hvl.oauth.authz.service.url}}")
public interface HvlAuthzUserPasswordPolicyRestService
A restful service which provides specific methods for user password policy.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserPasswordPolicyModel>
Method user for providing active user password policy data.tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserPasswordPolicyModel>
Gets user password policy by uuid.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthUserPasswordPolicyModel>>
queryPage
(@NotNull @Valid HvlOAuthUserPasswordPolicyQueryModel userPasswordPolicyQueryModel) Returns a page of user password policy matching the query criteria.
-
Method Details
-
getByUuid
@GetMapping(path="/by-uuid/{uuid}", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserPasswordPolicyModel> getByUuid(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Gets user password policy by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
getActive
@GetMapping(path="/active", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthUserPasswordPolicyModel> getActive()Method user for providing active user password policy data.- 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<HvlOAuthUserPasswordPolicyModel>> queryPage(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthUserPasswordPolicyQueryModel userPasswordPolicyQueryModel) Returns a page of user password policy matching the query criteria.- Parameters:
userPasswordPolicyQueryModel
- the user password policy query model- Returns:
- the hvl response
-