aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config/AppConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/config/AppConfig.java')
-rw-r--r--src/main/java/com/juick/config/AppConfig.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/juick/config/AppConfig.java b/src/main/java/com/juick/config/AppConfig.java
index d54bc675..ff92de1f 100644
--- a/src/main/java/com/juick/config/AppConfig.java
+++ b/src/main/java/com/juick/config/AppConfig.java
@@ -20,6 +20,7 @@ package com.juick.config;
import com.juick.*;
import com.juick.model.User;
import com.juick.service.HelpService;
+import com.juick.service.SignatureService;
import com.juick.service.StorageService;
import com.juick.service.FileSystemStorageService;
import com.juick.service.UserService;
@@ -158,8 +159,8 @@ public class AppConfig {
}
@Bean
- SignatureManager signatureManager() {
- return new SignatureManager();
+ SignatureService signatureManager() {
+ return new SignatureService(keystoreManager());
}
@Bean