xml_sign_on_result_portal.jsp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <%@ page contentType="text/html; charset=utf-8" %>
  2. <%@ page import="kr.co.hsnc.common.message.WAFMessage" %>
  3. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  4. <%
  5. ctx.init(request, response);
  6. WAFMessage wafMessage = WAFMessage.getInstance();
  7. wafMessage.setLocale(ctx.getLocale());
  8. boolean is_login = ctx.getBoolean("is_login");
  9. boolean is_exist_session = ctx.getBoolean("is_exist_session");
  10. String exist_session_ip = ctx.get("exist_session_ip");
  11. int login_pw_mod_period = ctx.getInt("login_pw_mod_period");
  12. int login_pw_encription = ctx.getInt("login_pw_encription"); //암호화 비밀번호 횟수
  13. String cv = ctx.get("cv");
  14. int size_value = 3;
  15. %>
  16. <RESULT type="VALUEOBJECT">
  17. <REQUEST uri="<%= ctx.getRequestURI() %>" event="<%= ctx.getEvent() %>"/>
  18. <% if( is_login ) { %>
  19. <% if( is_exist_session ) { %>
  20. <SUCCESS value="true"><![CDATA[<%= wafMessage.getMessage("Login.OK.Exist.Session") %>]]></SUCCESS>
  21. <% }
  22. else { %>
  23. <SUCCESS value="true"><![CDATA[<%= wafMessage.getMessage("Login.OK") %>]]></SUCCESS>
  24. <% } %>
  25. <DETAIL-MESSAGE><![CDATA[<%= cv %>]]></DETAIL-MESSAGE>
  26. <VALUE-OBJECT size="<%=size_value %>">
  27. <VALUE name="is_exist_session"><![CDATA[<%= is_exist_session %>]]></VALUE>
  28. <VALUE name="login_pw_mod_period"><![CDATA[<%= login_pw_mod_period %>]]></VALUE>
  29. <VALUE name="login_pw_encription"><![CDATA[<%= login_pw_encription %>]]></VALUE>
  30. </VALUE-OBJECT>
  31. <% }
  32. else { %>
  33. <SUCCESS value="false"><![CDATA[<%= wafMessage.getMessage("Login.Error") %>]]></SUCCESS>
  34. <VALUE-OBJECT size="1">
  35. <VALUE name="chk_head"><![CDATA[<%= "N" %>]]></VALUE>
  36. </VALUE-OBJECT>
  37. <% } %>
  38. </RESULT>