You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/10/31 15:32:09 UTC

[1/2] shiro-site git commit: Adding site.xml and minor cleanup detected by google analytics

Repository: shiro-site
Updated Branches:
  refs/heads/master af4440363 -> e57788cb0


Adding site.xml and minor cleanup detected by google analytics


Project: http://git-wip-us.apache.org/repos/asf/shiro-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro-site/commit/e94a48a4
Tree: http://git-wip-us.apache.org/repos/asf/shiro-site/tree/e94a48a4
Diff: http://git-wip-us.apache.org/repos/asf/shiro-site/diff/e94a48a4

Branch: refs/heads/master
Commit: e94a48a487c5f4e7260477a9a8684821e6c77291
Parents: af44403
Author: Brian Demers <bd...@apache.org>
Authored: Fri Oct 28 15:05:14 2016 -0400
Committer: Brian Demers <bd...@apache.org>
Committed: Fri Oct 28 15:05:14 2016 -0400

----------------------------------------------------------------------
 .htaccess                |  13 ++-
 index.html               |   2 +-
 shiro-web/index.html.vtl |   1 +
 site.xml                 | 243 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 257 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e94a48a4/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
index bad10f3..8d1f1ad 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1,12 @@
-RedirectMatch ^/favicon.ico /assets/images/favicon.ico
\ No newline at end of file
+RedirectMatch ^/favicon.ico /assets/images/favicon.ico
+RedirectMatch ^/shiro-all(.*) /static/current/shiro-all/$1
+RedirectMatch ^/shiro-core(.*) /static/current/shiro-core/$1
+
+RedirectMatch ^/shiro-quartz(.*) /static/current/shiro-quartz/$1
+RedirectMatch ^/shiro-samples(.*) /static/current/shiro-samples/$1
+RedirectMatch ^/shiro-ehcache(.*) /static/current/shiro-ehcache/$1
+RedirectMatch ^/shiro-cas(.*) /static/current/shiro-cas/$1
+RedirectMatch ^/shiro-aspectj(.*) /static/current/shiro-aspectj/$1
+RedirectMatch ^/shiro-spring(.*) /static/current/shiro-spring/$1
+RedirectMatch ^/shiro-guice(.*) /static/current/shiro-guice/$1
+RedirectMatch ^/shiro-web(.*) /static/current/shiro-web/$1

http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e94a48a4/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index f7f4ade..2f79a89 100644
--- a/index.html
+++ b/index.html
@@ -82,7 +82,7 @@
             <div class="col-md-6 col-sm-6 col-padded-top col-center">
                 <div style="width: 100%; max-width: 272px; display: inline-block; text-align: center; margin-left: 50px; padding-bottom: 15px;">
                     <iframe frameborder="0" scrolling="auto" width="310" height="233"
-                            src="http://www.youtube.com/embed/YJByiDvOhsc?rel=0" allowfullscreen="true"></iframe>
+                            src="https://www.youtube.com/embed/YJByiDvOhsc?rel=0" allowfullscreen="true"></iframe>
                 </div>
             </div>
         </div>

http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e94a48a4/shiro-web/index.html.vtl
----------------------------------------------------------------------
diff --git a/shiro-web/index.html.vtl b/shiro-web/index.html.vtl
new file mode 100644
index 0000000..472f409
--- /dev/null
+++ b/shiro-web/index.html.vtl
@@ -0,0 +1 @@
+#redirect("https://shiro.apache.org/static/current/shiro-web/index.html" ,"Shiro-Web")

http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e94a48a4/site.xml
----------------------------------------------------------------------
diff --git a/site.xml b/site.xml
new file mode 100644
index 0000000..02d41ef
--- /dev/null
+++ b/site.xml
@@ -0,0 +1,243 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
+  xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
+
+  <url>
+    <loc>https://shiro.apache.org/index.html</loc>
+    <priority>1</priority>
+    <image:image>
+     <image:loc>https://shiro.apache.org/assets/images/apache-shiro-logo.png</image:loc>
+   </image:image>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/permissions.html</loc>
+    <priority>0.8</priority>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/webapp-tutorial.html</loc>
+    <priority>0.8</priority>
+  </url>
+  
+  <url>
+    <loc>https://shiro.apache.org/10-minute-tutorial.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/about.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/adoption.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/architecture.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/articles.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/authentication-features.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/authentication.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/authorization-features.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/authorization.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/cachemanager.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/caching.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/cas.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/command-line-hasher.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/commercial-support.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/community.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/concurrency.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/conferences.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/configuration.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/contribute.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/core.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/cryptography-features.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/cryptography.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/developer-resources.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/developers.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/documentation-help-block.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/documentation.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/download.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/events.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/features-overview.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/features.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/forums.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/get-started.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/getting-started-block.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/graduation-resolution.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/guice.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/guides.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/how-to-contribute.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/inclusionslibrary.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/integration.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/introduction.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/issues.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/java-annotations-list.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/java-annotations.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/java-authentication-guide.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/java-authorization-guide.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/java-cryptography-guide.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/jsp-tag-library.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/license.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/mailing-lists.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/navigation.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/news.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/overview.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/powered-by-shiro.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/privacy-policy.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/realm.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/reference.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/securitymanager.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/session-management-features.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/session-management.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/site.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/siteheader.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/spring.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/subject.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/support.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/team.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/terminology.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/testing.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/tools.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/tutorial.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/version-2-brainstorming.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/web-features.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/web.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/what-is-shiro.html</loc>
+  </url>
+  <url>
+    <loc>https://shiro.apache.org/wiki-todos.html</loc>
+  </url>
+</urlset>
\ No newline at end of file


[2/2] shiro-site git commit: Added new security-reports page

Posted by bd...@apache.org.
Added new security-reports page


Project: http://git-wip-us.apache.org/repos/asf/shiro-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro-site/commit/e57788cb
Tree: http://git-wip-us.apache.org/repos/asf/shiro-site/tree/e57788cb
Diff: http://git-wip-us.apache.org/repos/asf/shiro-site/diff/e57788cb

Branch: refs/heads/master
Commit: e57788cb0b38148f16143a751f650733df99846b
Parents: e94a48a
Author: Brian Demers <bd...@apache.org>
Authored: Mon Oct 31 11:31:52 2016 -0400
Committer: Brian Demers <bd...@apache.org>
Committed: Mon Oct 31 11:31:52 2016 -0400

----------------------------------------------------------------------
 security-reports.md   | 38 ++++++++++++++++++++++++++++++++++++++
 site.xml              |  3 +++
 templates/default.vtl | 11 +++++++++++
 3 files changed, 52 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e57788cb/security-reports.md
----------------------------------------------------------------------
diff --git a/security-reports.md b/security-reports.md
new file mode 100644
index 0000000..24d4b95
--- /dev/null
+++ b/security-reports.md
@@ -0,0 +1,38 @@
+
+Reporting a vulnerability
+-------------------------
+
+We strongly encourage people to report security vulnerabilities privately to our security list before disclosing them in a public forum.
+
+Please note that the e-mail address below should only be used for reporting undisclosed security vulnerabilities in Apache Shiro and managing the process of fixing such vulnerabilities. We cannot accept regular bug reports or other queries at this address.
+
+[security@shiro.apache.org](mailto:security@shiro.apache.org)
+
+
+Vulnerability Handling Process
+------------------------------
+
+An overview of the vulnerability handling process is:
+
+* The reporter reports the vulnerability privately to [security@shiro.apache.org](mailto:security@shiro.apache.org).
+* The Apache Shiro PMC team works privately with the reporter to resolve the vulnerability.
+* A new release of the Apache Shiro concerned is made that includes the fix.
+* The vulnerability is publicly announced.
+
+A [more detailed description of the process](http://www.apache.org/security/committers.html) has been written for committers. Reporters of security vulnerabilities may also find it useful.
+
+
+Apache Shiro Vulnerability Reports
+----------------------------------
+
+###[CVE-2016-6802](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6802)
+Apache Shiro before 1.3.2 allows attackers to bypass intended servlet filters and gain access by leveraging use of a non-root servlet context path.
+
+###[CVE-2016-4437](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4437)
+Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.
+
+###[CVE-2014-0074](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0074)
+Apache Shiro 1.x before 1.2.3, when using an LDAP server with unauthenticated bind enabled, allows remote attackers to bypass authentication via an empty (1) username or (2) password.
+
+###[CVE-2010-3863](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3863)
+Apache Shiro before 1.1.0, and JSecurity 0.9.x, does not canonicalize URI paths before comparing them to entries in the shiro.ini file, which allows remote attackers to bypass intended access restrictions via a crafted request, as demonstrated by the /./account/index.jsp URI.

http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e57788cb/site.xml
----------------------------------------------------------------------
diff --git a/site.xml b/site.xml
index 02d41ef..9c8ac1b 100644
--- a/site.xml
+++ b/site.xml
@@ -187,6 +187,9 @@
     <loc>https://shiro.apache.org/reference.html</loc>
   </url>
   <url>
+    <loc>https://shiro.apache.org/security-reports.html</loc>
+  </url>
+  <url>
     <loc>https://shiro.apache.org/securitymanager.html</loc>
   </url>
   <url>

http://git-wip-us.apache.org/repos/asf/shiro-site/blob/e57788cb/templates/default.vtl
----------------------------------------------------------------------
diff --git a/templates/default.vtl b/templates/default.vtl
index 8289494..954bf73 100644
--- a/templates/default.vtl
+++ b/templates/default.vtl
@@ -160,6 +160,17 @@
                     </ul>
                 </li>
 
+                <li class="dropdown">
+                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+                        About <b class="caret"></b>
+                    </a>
+
+                    <ul class="dropdown-menu">
+                        <li><a href="$root/about.html">About</a></li>
+                        <li><a href="$root/security-reports.html">Vulnerability Reports</a></li>
+                    </ul>
+                </li>
+
             </ul>
 
             <ul class="nav navbar-nav navbar-right">