Class SigningKeyRotationJob
java.lang.Object
com.irurueta.authserver.authorization.api.web.keys.SigningKeyRotationJob
Periodically applies the key lifecycle. The schedule is the cron expression
authserver.keys.rotation.cron
(default: every hour); the use case itself only changes keys that are due.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
signingKeyRotator
Rotates the keys.
-
-
Constructor Details
-
SigningKeyRotationJob
public SigningKeyRotationJob()
-
-
Method Details
-
run
@Scheduled(cron="${authserver.keys.rotation.cron:0 0 * * * *}") public void run()Rotates the keys.
-