package com.sinata.appointment.config;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@Data
|
@ConfigurationProperties(prefix = "security.admin-login-crypto")
|
public class AdminLoginCryptoProperties {
|
|
/**
|
* AES 密钥,16位字符。
|
*/
|
private String key = "SinataAdminKey01";
|
|
/**
|
* AES CBC 偏移量,16位字符。
|
*/
|
private String iv = "SinataAdminIv001";
|
|
/**
|
* 时间戳允许偏差,单位毫秒。
|
*/
|
private long maxSkewMillis = 60_000L;
|
}
|