java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v2.security.BmUserValidator

public class BmUserValidator extends Object
Validates if the authenticated user is authorized to access a resource
Since:
2208
  • Constructor Details

  • Method Details

    • isResourceOwner

      public boolean isResourceOwner(org.springframework.security.core.Authentication authentication, String customerBillId)
    • isBillOnDemandOwner

      public boolean isBillOnDemandOwner(org.springframework.security.core.Authentication authentication, String customerBillOnDemandId)
    • hasProperAuthorizationForParty

      public boolean hasProperAuthorizationForParty(org.springframework.security.core.Authentication authentication, String relatedPartyId)
    • getUserService

      protected de.hybris.platform.servicelayer.user.UserService getUserService()
    • getPartyBillService

      protected TuaPartyBillService getPartyBillService()
    • getPartyBillOnDemandService

      protected TuaPartyBillOnDemandService getPartyBillOnDemandService()