Class JWTTransferCartTokenEncoderProperties

java.lang.Object
com.broadleafcommerce.cartoperation.service.environment.JWTTransferCartTokenEncoderProperties

@ConfigurationProperties(prefix="broadleaf.cartoperation.transfercart.encoder") @Validated public class JWTTransferCartTokenEncoderProperties extends Object
Properties used to support the JWTTransferCartTokenEncoder in encoding preview tokens as JWTs.
See Also:
  • Constructor Details

    • JWTTransferCartTokenEncoderProperties

      public JWTTransferCartTokenEncoderProperties()
  • Method Details

    • getEncodedPrivateKey

      public String getEncodedPrivateKey()
      The encoded RSA private key string to be used to encode preview token JWTs.
    • getIssuer

      public String getIssuer()
      The issuer for the JWT token. This is used when creating the JWT to specify the authority that issued it.
    • getExpirationTimeout

      public Duration getExpirationTimeout()
      The duration of the expiration timeout for the preview token JWT.
    • setEncodedPrivateKey

      public void setEncodedPrivateKey(String encodedPrivateKey)
      The encoded RSA private key string to be used to encode preview token JWTs.
    • setIssuer

      public void setIssuer(String issuer)
      The issuer for the JWT token. This is used when creating the JWT to specify the authority that issued it.
    • setExpirationTimeout

      public void setExpirationTimeout(Duration expirationTimeout)
      The duration of the expiration timeout for the preview token JWT.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object