Interface HvlAuthzPasswordRestrictionOperationRestService
- All Known Implementing Classes:
HvlAuthzPasswordRestrictionRestController
@Validated
@HvlPrivateFeignRestService
@FeignClient(name="passwordRestrictionPrivateRestService",
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 HvlAuthzPasswordRestrictionOperationRestService
A restful service which provides specific operational methods for password restriction.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<Void> deleteByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Deletes password restriction by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthPasswordRestrictionModel> save
(@NotNull @Valid HvlOAuthPasswordRestrictionModel passwordRestrictionModel) Saves password restriction.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthPasswordRestrictionModel> update
(@NotNull @Valid HvlOAuthPasswordRestrictionModel passwordRestrictionModel) Updates password restriction.
-
Method Details
-
save
@PostMapping(consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthPasswordRestrictionModel> save(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthPasswordRestrictionModel passwordRestrictionModel) Saves password restriction.- Parameters:
passwordRestrictionModel
- the password restriction 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<HvlOAuthPasswordRestrictionModel> update(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthPasswordRestrictionModel passwordRestrictionModel) Updates password restriction.- Parameters:
passwordRestrictionModel
- the password restriction 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) Deletes password restriction by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-