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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe encoded RSA private key string to be used to encode preview token JWTs.The duration of the expiration timeout for the preview token JWT.The issuer for the JWT token.inthashCode()voidsetEncodedPrivateKey(String encodedPrivateKey) The encoded RSA private key string to be used to encode preview token JWTs.voidsetExpirationTimeout(Duration expirationTimeout) The duration of the expiration timeout for the preview token JWT.voidThe issuer for the JWT token.toString()
-
Constructor Details
-
JWTTransferCartTokenEncoderProperties
public JWTTransferCartTokenEncoderProperties()
-
-
Method Details
-
getEncodedPrivateKey
The encoded RSA private key string to be used to encode preview token JWTs. -
getIssuer
The issuer for the JWT token. This is used when creating the JWT to specify the authority that issued it. -
getExpirationTimeout
The duration of the expiration timeout for the preview token JWT. -
setEncodedPrivateKey
The encoded RSA private key string to be used to encode preview token JWTs. -
setIssuer
The issuer for the JWT token. This is used when creating the JWT to specify the authority that issued it. -
setExpirationTimeout
The duration of the expiration timeout for the preview token JWT. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-