diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java b/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java index 512e210..7067b6a 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/service/NoAuthProbeService.java @@ -18,8 +18,9 @@ public class NoAuthProbeService { private NoAuthProbeDAO noAuthProbeDAO; - public void regist(NoAuthProbe noAuthProbe) { - this.noAuthProbeDAO.save(noAuthProbe); + public NoAuthProbe regist(NoAuthProbe noAuthProbe) { + + return this.noAuthProbeDAO.save(noAuthProbe); } public List readAllByDomain(Domain domain) { diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/type/AuthType.java b/src/main/java/com/loafle/overflow/module/noauthprobe/type/AuthType.java deleted file mode 100644 index 1d58a0f..0000000 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/type/AuthType.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.loafle.overflow.module.noauthprobe.type; - -/** - * Created by root on 17. 5. 31. - */ -public enum AuthType { - A("ACCEPT"), - D("DENY"), - P("PROCESS"); - - private String stringValue; - AuthType(String string) {stringValue = string;} - - @Override - public String toString() { - return stringValue; - } - -}