Auth Model => Map

This commit is contained in:
jackdaw@loafle.com 2017-04-21 12:28:20 +09:00
parent 284989f8cd
commit 858b377012
2 changed files with 5 additions and 28 deletions

View File

@ -1,25 +0,0 @@
package com.loafle.overflow.crawler.config;
/**
* Created by root on 17. 4. 13.
*/
public class Auth {
private String user;
private String pw;
public String getUser() {
return user;
}
public void setUser(String user) {
this.user = user;
}
public String getPw() {
return pw;
}
public void setPw(String pw) {
this.pw = pw;
}
}

View File

@ -1,17 +1,19 @@
package com.loafle.overflow.crawler.config; package com.loafle.overflow.crawler.config;
import java.util.Map;
/** /**
* Created by root on 17. 4. 13. * Created by root on 17. 4. 13.
*/ */
public class Target { public class Target {
private Auth auth; private Map<String, Object> auth;
private Connection connection; private Connection connection;
public Auth getAuth() { public Map<String, Object> getAuth() {
return auth; return auth;
} }
public void setAuth(Auth auth) { public void setAuth(Map<String, Object> auth) {
this.auth = auth; this.auth = auth;
} }