-<%@ page language="java" session = "false" %>
-
-<%@ page import="gov.va.med.authentication.kernel.ConfigurationVO,
- gov.va.med.authentication.kernel.LoginController,
- weblogic.servlet.security.ServletAuthentication;"%>
-
-<%
-// Turn off cache so that a user cannot navigate back to the login page after post-login
-response.setHeader("Cache-Control","no-store, no-cache, must-revalidate"); //HTTP 1.1
-response.setHeader("Pragma","no-cache"); //HTTP 1.0
-response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
-%>
-
-
-
-
-
-
-Login Page
-
-
-
-
-
-
-
-<%
-/*
-It could be argued that using code within JSP is not a good thing, but for such a small app it's
-completely acceptable. If we were working with an HTML designer, the separation would be good. But then
-JSTL would be needed and with that we'd introduce some version of that as a dependency, which is preferably
-avoided given because we're embedded, we force these dependencies on the containing application as well.
-*/
-ConfigurationVO kaajeeEnv = ConfigurationVO.getInstance();
-
-/*
-Here if the protocol is 'http', I redirected the user to the same page using 'https' protocol.
-*/
- if(request.getParameter("relogin")!=null){
- HttpSession hSess = request.getSession(false);
- if(hSess == null) {
- StringBuffer sbsession = new StringBuffer(request.getContextPath());
- sbsession.append("/login/SessionTimeout.jsp");
- response.sendRedirect(sbsession.toString());
- return;
- }
- }
-
-HttpSession hSess = request.getSession(true);
-
-String desiredSchema = "https"; //or http
-String usingSchema = request.getScheme();
-if(kaajeeEnv.getHTTPSPortLis() != null ) {
-if(!desiredSchema.equals(usingSchema)) {
-
- StringBuffer sburl = request.getRequestURL();
- java.net.URL url = new java.net.URL(sburl.toString());
- hSess = request.getSession(true);
- Integer portValue = new Integer(url.getPort());
- hSess.setAttribute("portnumber",portValue);
-
- String urlString = desiredSchema+"://"+ url.getHost() +":"+kaajeeEnv.getHTTPSPortLis()+url.getPath();
- response.sendRedirect(response.encodeRedirectURL(urlString));
- return;
- }
-}
-
-%>
-
-
-
-
\ No newline at end of file
diff --git a/java/tracking-server-main/src/main/webapp/login/loginCookieInfo.htm b/java/tracking-server-main/src/main/webapp/login/loginCookieInfo.htm
deleted file mode 100644
index f13ded8..0000000
--- a/java/tracking-server-main/src/main/webapp/login/loginCookieInfo.htm
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-Login Persistent Cookie Information
-
-
-Login Persistent Cookie Information
-The login module uses a persistent cookie to store the institution you select at login.
-
This information is used at the next login, to pre-select the same institution for the next login.
-Given that the list of institutions may be quite long for some applications, the goal of using the
-persistent cookie is to save you time by pre-selecting the most likely institution choice, which for most
-users would be the previously selected login. This is similar to the Windows login, which saves your last
-domain used for login, and pre-selects that domain at the next login.
-
In addition to the above persistent cookie, the login module uses another persistent cookie to store
-the user's preference for sorting institutions in the Institution Drop Down box of the login page.
-
The cookies contains the following information:
-
-- name: gov.va.med.authentication.kernel.defaultDivision
-
- value: station number used for the previous login
-
- expiry time: 180 days
-
- name: gov.va.med.authentication.kernel.defaultSortInstitutionBy
-
- value: sort order of name or number used for the previous refresh
-
- expiry time: 180 days
-
-
-Thin Client/Terminal Server users:
-Please note that persistent cookies may not be of much use on Terminal Servers.
-
The reason is that many Terminal Servers may have been configured to use roaming profiles that may
-not retain as part of the user profile cookies and temporary internet files upon the user logout
-and disconnect.
-In such cases, the recommendation is to create on each Terminal Server shortcuts and save them
-on the desktop and/or quick launch bar. These shortcuts should have the desired target URLs plus any
-desired KAAJEE supported parameters. For further details regarding how to use these KAAJEE supported
-parameters in order to pre-select the desired institution and institution sorting preference,
-please refer to the KAAJEE documentation.
-
-
Close Window
-
-
\ No newline at end of file
diff --git a/java/tracking-server-main/src/main/webapp/login/loginerror.jsp b/java/tracking-server-main/src/main/webapp/login/loginerror.jsp
deleted file mode 100644
index 86d7787..0000000
--- a/java/tracking-server-main/src/main/webapp/login/loginerror.jsp
+++ /dev/null
@@ -1,13 +0,0 @@
-
-<%@ page language="java" %>
-
-
-Forms Authentication Error
-
-Forms authentication login failed.
-Try login again.
-
\ No newline at end of file
diff --git a/java/tracking-server-main/src/main/webapp/login/loginerrordisplay.jsp b/java/tracking-server-main/src/main/webapp/login/loginerrordisplay.jsp
deleted file mode 100644
index 9e95a77..0000000
--- a/java/tracking-server-main/src/main/webapp/login/loginerrordisplay.jsp
+++ /dev/null
@@ -1,31 +0,0 @@
-
-<%@ page language="java" %>
-
-
-Login Error
-
-<%
-
-String stringurl = "";
- String errorMessage = (String) session.getAttribute("gov.va.med.authentication.kernel.errormessage");
- if (errorMessage == null) errorMessage = "";
-
-%>
-
-There was a login error detected by the login system:
-
-<% session.removeAttribute("gov.va.med.authentication.kernel.errormessage");
- session = request.getSession(false);
- stringurl = request.getContextPath()+"/login/login.jsp"+"?relogin=true";
-
-
-
-%>
-Try login again.
-
diff --git a/java/tracking-server-main/src/main/webapp/login/navigationerror.jsp b/java/tracking-server-main/src/main/webapp/login/navigationerror.jsp
deleted file mode 100644
index bc7d720..0000000
--- a/java/tracking-server-main/src/main/webapp/login/navigationerror.jsp
+++ /dev/null
@@ -1,14 +0,0 @@
-
-<%@ page language="java" %>
-
-
-Navigation Error
-
-
-You navigated inappropriately to this page.
- The login process should only be invoked via the consuming application by using your original bookmark, shortcut or URL destination
-
\ No newline at end of file
diff --git a/java/tracking-server-vista/pom.xml b/java/tracking-server-vista/pom.xml
index aa26138..9ec4193 100644
--- a/java/tracking-server-vista/pom.xml
+++ b/java/tracking-server-vista/pom.xml
@@ -45,6 +45,24 @@
jaxen
jaxen
1.1.1
+
+
+ xerces
+ xmlParserAPIs
+
+
+ xerces
+ xercesImpl
+
+
+ xml-apis
+ xml-apis
+
+
+ xom
+ xom
+
+