Class JWTPreviewTokenDecoderProperties

java.lang.Object
com.broadleafcommerce.data.tracking.core.preview.environment.JWTPreviewTokenDecoderProperties

@ConfigurationProperties(prefix="broadleaf.sandbox.preview.decoder") @Validated public class JWTPreviewTokenDecoderProperties extends Object
Properties used to support the JWTPreviewTokenDecoder in decoding preview tokens from JWTs.
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Details

    • JWTPreviewTokenDecoderProperties

      public JWTPreviewTokenDecoderProperties()
  • Method Details

    • getEncodedPublicKey

      public String getEncodedPublicKey()
      The encoded RSA public key string to be used to decode and verify preview token JWTs.
    • getIssuer

      public String getIssuer()
      The issuer for the JWT token. This is used to validate the JWT was issued by the authority that is expected to issue it.
    • setEncodedPublicKey

      public void setEncodedPublicKey(String encodedPublicKey)
      The encoded RSA public key string to be used to decode and verify preview token JWTs.
    • setIssuer

      public void setIssuer(String issuer)
      The issuer for the JWT token. This is used to validate the JWT was issued by the authority that is expected to issue it.
    • 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