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 theJWTTransferCartTokenEncoderin encoding preview tokens as JWTs.- See Also:
JWTTransferCartTokenEncoder
-
-
Constructor Summary
Constructors Constructor Description JWTTransferCartTokenEncoderProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetEncodedPrivateKey()The encoded RSA private key string to be used to encode preview token JWTs.DurationgetExpirationTimeout()The duration of the expiration timeout for the preview token JWT.StringgetIssuer()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.voidsetIssuer(String issuer)The issuer for the JWT token.StringtoString()
-
-
-
Method Detail
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
-