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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The encoded RSA private key string to be used to encode preview token JWTs.@NotNull Duration
The duration of the expiration timeout for the preview token JWT.The issuer for the JWT token.int
hashCode()
void
setEncodedPrivateKey
(String encodedPrivateKey) The encoded RSA private key string to be used to encode preview token JWTs.void
setExpirationTimeout
(@NotNull Duration expirationTimeout) The duration of the expiration timeout for the preview token JWT.void
The 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
-