Skip to content

Commit

Permalink
Changed security constraints on info pages
Browse files Browse the repository at this point in the history
  • Loading branch information
oskopek committed Apr 15, 2014
1 parent 29b7aff commit 44bb415
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 23 deletions.
1 change: 1 addition & 0 deletions carcv-webapp/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<web-resource-collection>
<web-resource-name>allowed_pages</web-resource-name>
<url-pattern>/resources/*</url-pattern>
<url-pattern>/info/*</url-pattern>
<url-pattern>/welcome.jsp</url-pattern>
</web-resource-collection>
<user-data-constraint>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/app/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/app/refresh_in_progress.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/app/upload.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/app/working.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="SHORTCUT ICON" href="http://upload.wikimedia.org/wikipedia/commons/f/f0/Car_with_Driver-Silhouette.svg">
<link rel="icon" href="http://upload.wikimedia.org/wikipedia/commons/f/f0/Car_with_Driver-Silhouette.svg" type="image/ico">
<title>CarCV - Login</title>
<title>CarCV - Contact Us</title>
<link rel="stylesheet" type="text/css" href="/resources/mystyle.css">
</head>

Expand All @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="SHORTCUT ICON" href="http://upload.wikimedia.org/wikipedia/commons/f/f0/Car_with_Driver-Silhouette.svg">
<link rel="icon" href="http://upload.wikimedia.org/wikipedia/commons/f/f0/Car_with_Driver-Silhouette.svg" type="image/ico">
<title>CarCV - Login</title>
<title>CarCV - Contribute</title>
<link rel="stylesheet" type="text/css" href="/resources/mystyle.css">
</head>

Expand All @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="SHORTCUT ICON" href="http://upload.wikimedia.org/wikipedia/commons/f/f0/Car_with_Driver-Silhouette.svg">
<link rel="icon" href="http://upload.wikimedia.org/wikipedia/commons/f/f0/Car_with_Driver-Silhouette.svg" type="image/ico">
<title>CarCV - Login</title>
<title>CarCV - Features</title>
<link rel="stylesheet" type="text/css" href="/resources/mystyle.css">
</head>

Expand All @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/login/badLogin.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/login/login.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down
4 changes: 2 additions & 2 deletions carcv-webapp/src/main/webapp/welcome.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
alt="OpenCV" /></a>
<p style="position: absolute; right: 8%; top: 2%; font-size: 11pt; word-spacing: .5em;">
<strong> <a href="/app/index.jsp" target="_top" style="text-decoration: none">Home</a> <a
href="/app/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/app/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/app/contact_us.jsp" target="_top"
href="/info/features.jsp" target="_top" style="text-decoration: none">Features</a> <a href="/info/contribute.jsp"
target="_top" style="text-decoration: none">Contribute</a> <a href="/info/contact_us.jsp" target="_top"
style="text-decoration: none; word-spacing: 0em;">Contact us</a>
</strong>
</p>
Expand Down

0 comments on commit 44bb415

Please sign in to comment.