Compare commits
No commits in common. "0dd59ea9e312711835798e85dba6f511c957f1cc" and "bc5d1622a6c0c13c5783725ecfb3039310ddc01f" have entirely different histories.
0dd59ea9e3
...
bc5d1622a6
|
|
@ -159,7 +159,6 @@ public class MainController {
|
|||
String[] allowIp = {"0:0:0:0:0:0:0:1", "127.0.0.1", "218.49.16.78", "218.49.21.65", "218.232.234.161"};
|
||||
List<String> allowIpList = new ArrayList<>(Arrays.asList(allowIp)); // 배열을 ArrayList로 변환
|
||||
|
||||
allowIpList.add("218.232.234.211"); // WAS 서버 IP
|
||||
allowIpList.add("110.8.164.135"); // DBNTECH Public IP
|
||||
allowIpList.add("118.219.150.34"); // DBNTECH Public IP
|
||||
allowIpList.add("192.168.0.251"); // DBNTECH Private IP
|
||||
|
|
|
|||
|
|
@ -84,11 +84,6 @@ public class UserInfo implements Serializable {
|
|||
public static boolean getSession(HttpServletRequest request, String source) {
|
||||
boolean isLoginSuccess = false;
|
||||
|
||||
if( source == null ) {
|
||||
System.out.println("source is null");
|
||||
} else {
|
||||
System.out.println("source [" + source + "]");
|
||||
}
|
||||
HttpSession session = request.getSession(false);
|
||||
if (((session != null) && (session.getAttribute(source + ".userID") != null)) || (session.getAttribute(source + ".userName") != null))
|
||||
isLoginSuccess = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue