Class PrUserValidator
java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.security.PrUserValidator
Deprecated.
2208
Validates if the authenticated user is authorized to access a resource
- Since:
- 2108
-
Constructor Summary
ConstructorsConstructorDescriptionPrUserValidator(de.hybris.platform.servicelayer.user.UserService userService, PrPartyRoleService partyRoleService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected PrPartyRoleServiceDeprecated.protected de.hybris.platform.servicelayer.user.UserServiceDeprecated.booleanisOwnerOfPartyRole(org.springframework.security.core.Authentication authentication, String partyRoleId) Deprecated.Checks if the authorized client is allowed to access the requested party role.
-
Constructor Details
-
PrUserValidator
public PrUserValidator(de.hybris.platform.servicelayer.user.UserService userService, PrPartyRoleService partyRoleService) Deprecated.
-
-
Method Details
-
isOwnerOfPartyRole
public boolean isOwnerOfPartyRole(org.springframework.security.core.Authentication authentication, String partyRoleId) Deprecated.Checks if the authorized client is allowed to access the requested party role.- Parameters:
authentication- The authenticated clientpartyRoleId- The unique identifier of the party role- Returns:
- True if the authorized client is able to access the resource, otherwise false
-
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService()Deprecated. -
getPartyRoleService
Deprecated.
-