mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-02 18:45:21 +00:00
More cleanup
This commit is contained in:
parent
f6d35f1c2e
commit
9d90ff4cc3
@ -61,7 +61,7 @@ security:
|
|||||||
spCert: classpath:saml-public-cert.crt # Your signing certificate. Generated from your keypair
|
spCert: classpath:saml-public-cert.crt # Your signing certificate. Generated from your keypair
|
||||||
jwt:
|
jwt:
|
||||||
enableKeyStore: true # Set to 'true' to enable JWT key store
|
enableKeyStore: true # Set to 'true' to enable JWT key store
|
||||||
enableKeyRotation: false # Set to 'true' to enable JWT key rotation
|
enableKeyRotation: true # Set to 'true' to enable JWT key rotation
|
||||||
enableKeyCleanup: true # Set to 'true' to enable JWT key cleanup
|
enableKeyCleanup: true # Set to 'true' to enable JWT key cleanup
|
||||||
keyRetentionDays: 7 # Number of days to retain old keys. The default is 7 days.
|
keyRetentionDays: 7 # Number of days to retain old keys. The default is 7 days.
|
||||||
cleanupBatchSize: 100 # Number of keys to clean up in each batch. The default is 100.
|
cleanupBatchSize: 100 # Number of keys to clean up in each batch. The default is 100.
|
||||||
|
@ -153,7 +153,7 @@ public class JwtKeystoreService implements JwtKeystoreServiceInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private KeyPair generateRSAKeypair() {
|
private KeyPair generateRSAKeypair() {
|
||||||
KeyPairGenerator keyPairGenerator = null;
|
KeyPairGenerator keyPairGenerator;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
keyPairGenerator = KeyPairGenerator.getInstance("RSA");
|
keyPairGenerator = KeyPairGenerator.getInstance("RSA");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user