return model
This commit is contained in:
parent
a750866682
commit
87a4a2f518
|
@ -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<NoAuthProbe> readAllByDomain(Domain domain) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user