java.lang.Object
de.hybris.platform.partyroletmfwebservices.v1.security.PrUserValidator

@Deprecated(since="2208") public class PrUserValidator extends Object
Deprecated.
2208
Validates if the authenticated user is authorized to access a resource
Since:
2108
  • 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 client
      partyRoleId - 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

      protected PrPartyRoleService getPartyRoleService()
      Deprecated.