Class TabbyPaymentCallbackSecurityTokenUtil

java.lang.Object
com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtil
com.broadleafcommerce.tabby.service.util.TabbyPaymentCallbackSecurityTokenUtil

public class TabbyPaymentCallbackSecurityTokenUtil extends com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtil
Extensions of PaymentCallbackSecurityTokenUtil since Tabby URLs are stored as a serialized JSON object.
Author:
mariestandeven
  • Field Summary

    Fields inherited from class com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtil

    RANDOM
  • Constructor Summary

    Constructors
    Constructor
    Description
    TabbyPaymentCallbackSecurityTokenUtil(org.springframework.security.crypto.password.PasswordEncoder paymentCallbackTokenEncoder, com.broadleafcommerce.paymentgateway.properties.PaymentCallbackTokenProperties paymentCallbackTokenProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    updateUrlsToIncludePaymentCallbackTokenParam(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, @NonNull String tokenId, @NonNull Set<String> urlKeys, @NonNull Map<String,String> paymentMethodProperties, @NonNull String paymentCallbackToken, String applicationId, String tenantId)
     

    Methods inherited from class com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtil

    addPaymentCallbackTokenToPaymentMethodPropertyUrls, containsCallbackUrl, encodePaymentCallbackToken, generatePaymentCallbackToken, getBaseUri, getDeserializedCreationDate, getObjectMapper, getPaymentCallbackTokenEncoder, getPaymentCallbackTokenProperties, getSecureTokenQueryParam, getSerializedCreationDate, getTokenChars, getTokenDuration, getTokenLength, isTokenExpired, tokenMatches, verifyPaymentCallbackSecurityToken

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TabbyPaymentCallbackSecurityTokenUtil

      public TabbyPaymentCallbackSecurityTokenUtil(org.springframework.security.crypto.password.PasswordEncoder paymentCallbackTokenEncoder, com.broadleafcommerce.paymentgateway.properties.PaymentCallbackTokenProperties paymentCallbackTokenProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • updateUrlsToIncludePaymentCallbackTokenParam

      protected void updateUrlsToIncludePaymentCallbackTokenParam(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentInfo paymentInfo, @NonNull @NonNull String tokenId, @NonNull @NonNull Set<String> urlKeys, @NonNull @NonNull Map<String,String> paymentMethodProperties, @NonNull @NonNull String paymentCallbackToken, @Nullable String applicationId, @Nullable String tenantId)
      Overrides:
      updateUrlsToIncludePaymentCallbackTokenParam in class com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtil