Class HvlAuthzPasswordRestrictionRestController
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.user.controller.HvlAuthzPasswordRestrictionRestController
- All Implemented Interfaces:
HvlAuthzPasswordRestrictionOperationRestService
,HvlAuthzPasswordRestrictionRestService
@RestController
@RequestMapping("${hvl.oauth.authz.service.password-restriction.controller-path:/user-password-restrictions}")
@HvlActuatorService(name="HvlAuthzPasswordRestrictionRestService",
groupName="HvlAuthzUser")
public class HvlAuthzPasswordRestrictionRestController
extends Object
implements HvlAuthzPasswordRestrictionRestService, HvlAuthzPasswordRestrictionOperationRestService
The class in which service endpoints are defined for password restriction operations.
-
Constructor Summary
ConstructorDescriptionHvlAuthzPasswordRestrictionRestController
(HvlAuthzPasswordRestrictionService passwordRestrictionService) Instantiates a new HvlOAuthPasswordRestrictionRestController. -
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse
<Void> deleteByUuid
(String uuid) Deletes password restriction by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<HvlOAuthPasswordRestrictionModel> Gets password restriction by uuid.tr.com.havelsan.javarch.service.data.HvlResponse
<List<HvlOAuthPasswordRestrictionModel>> queryList
(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
(HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a page of password restriction matching the query criteria.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.
-
Constructor Details
-
HvlAuthzPasswordRestrictionRestController
public HvlAuthzPasswordRestrictionRestController(HvlAuthzPasswordRestrictionService passwordRestrictionService) Instantiates a new HvlOAuthPasswordRestrictionRestController.- Parameters:
passwordRestrictionService
- the password restriction service
-
-
Method Details
-
save
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthPasswordRestrictionModel> save(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthPasswordRestrictionModel passwordRestrictionModel) Saves password restriction.- Specified by:
save
in interfaceHvlAuthzPasswordRestrictionOperationRestService
- Parameters:
passwordRestrictionModel
- the password restriction model- Returns:
- the hvl response
-
update
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthPasswordRestrictionModel> update(@NotNull @Valid @RequestBody @NotNull @Valid HvlOAuthPasswordRestrictionModel passwordRestrictionModel) Updates password restriction.- Specified by:
update
in interfaceHvlAuthzPasswordRestrictionOperationRestService
- Parameters:
passwordRestrictionModel
- the password restriction model- Returns:
- the hvl response
-
deleteByUuid
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<Void> deleteByUuid(String uuid) Deletes password restriction by uuid.- Specified by:
deleteByUuid
in interfaceHvlAuthzPasswordRestrictionOperationRestService
- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
getByUuid
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<HvlOAuthPasswordRestrictionModel> getByUuid(String uuid) Gets password restriction by uuid.- Specified by:
getByUuid
in interfaceHvlAuthzPasswordRestrictionRestService
- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-
queryList
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlOAuthPasswordRestrictionModel>> queryList(HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a list of password restriction matching the query criteria.- Specified by:
queryList
in interfaceHvlAuthzPasswordRestrictionRestService
- Parameters:
passwordRestrictionQueryModel
- the password restriction query model- Returns:
- the hvl response
-
queryPage
@PreAuthorize("hasAuthority(\'keysis\')") public tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlOAuthPasswordRestrictionModel>> queryPage(HvlOAuthPasswordRestrictionQueryModel passwordRestrictionQueryModel) Returns a page of password restriction matching the query criteria.- Specified by:
queryPage
in interfaceHvlAuthzPasswordRestrictionRestService
- Parameters:
passwordRestrictionQueryModel
- the password restriction query model- Returns:
- the hvl response
-