Modified: shiro/site/publish/download.html URL: http://svn.apache.org/viewvc/shiro/site/publish/download.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/download.html (original) +++ shiro/site/publish/download.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> @@ -104,6 +122,39 @@ </div> + + + + + + + + + + + + + + + + + +<style> + + table, th, td { + border: 1px solid black; + border-collapse: collapse; + border-color: #ccc; + } + th { + background-color: #f0f0f0 + } + th, td { + padding: 8px; + } +</style> + + <h1><a name="Download-DownloadApacheShiro"></a>Download Apache Shiro</h1> <p>Apache Shiro 1.3.2 is the current stable release (Java 1.6+ JVM).</p> @@ -162,239 +213,259 @@ <p> </p> -<div class="table-wrap"> - <table class="confluenceTable" id="table-latest"> - <tbody> - <tr> - <th colspan="1" rowspan="1" class="confluenceTh"> Artifact</th> - <th colspan="1" rowspan="1" class="confluenceTh"> Maven Usage</th> - <th colspan="1" rowspan="1" class="confluenceTh"> Notes</th> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.3.2/shiro-all-1.3.2.jar">shiro-all</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"><b>Not Recommended</b></td> - <td colspan="1" rowspan="1" class="confluenceTd"> Includes all binary functionality for Shiro (without - dependencies), useful in certain build environments (e.g. Ant). However, this is <b>NOT</b> - recommended in Maven builds as it does not retain correct dependency metadata, which can lead to - Maven working incorrectly. For Maven builds, it is <b>highly</b> recommended to specify individual - modules listed below as you require them. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/1.3.2/shiro-core-1.3.2.jar">shiro-core</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> + +<table> + <thead> + <tr> + <th>Artifact</th> + <th>Maven Usage</th> + <th>Notes</th> + </tr> + </thead> + <tbody> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.3.2/shiro-all-1.3.2.jar">shiro-all</a> + </td> + + <td> + <b>Not Recommended</b> + </td> + + <td>Includes all binary functionality for Shiro (without dependencies), useful in certain build + environments (e.g. Ant). However, this is <b>NOT</b> recommended in Maven builds as it does not + retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, + it is <b>highly</b> recommended to specify individual modules listed below as you require them.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/1.3.2/shiro-core-1.3.2.jar">shiro-core</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Required in all environments. <a class="external-link" - href="http://slf4j.org/">Slf4j</a>'s - <tt>slf4j-api</tt> jar and one of its binding jars is required. <tt>commons-beanutils</tt> is - required only if using INI config. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/1.3.2/shiro-web-1.3.2.jar">shiro-web</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Required in all environments. <a class="external-link" href="http://slf4j.org/">Slf4j</a>'s + <code>slf4j-api</code> jar and one of its binding jars is required. <code>commons-beanutils</code> is + required only if using INI config.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/1.3.2/shiro-web-1.3.2.jar">shiro-web</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-web</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables support for web-based applications.</td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/1.3.2/shiro-aspectj-1.3.2.jar">shiro-aspectj</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables support for web-based applications.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/1.3.2/shiro-aspectj-1.3.2.jar">shiro-aspectj</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-aspectj</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.eclipse.org/aspectj/">AspectJ</a> support for - Shiro AOP and Annotations. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-cas/1.3.2/shiro-cas-1.3.2.jar">shiro-cas</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.eclipse.org/aspectj/">AspectJ</a> support for Shiro AOP and Annotations.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-cas/1.3.2/shiro-cas-1.3.2.jar">shiro-cas</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-cas</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables Jasig <a class="external-link" - href="https://wiki.jasig.org/display/CAS/Home">CAS</a> support. +</dependency> +</code></pre> + </td> + + <td>Enables Jasig <a class="external-link" href="https://wiki.jasig.org/display/CAS/Home">CAS</a> support. <div class="warning"> <span>NOTE:</span> Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based <a href="https://github.com/bujiio/buji-pac4j">buji-pac4j</a> project. - </div> - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/1.3.2/shiro-ehcache-1.3.2.jar">shiro-ehcache</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> + </div></td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/1.3.2/shiro-ehcache-1.3.2.jar">shiro-ehcache</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-ehcache</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.ehcache.org">Ehcache</a>-based - famework caching. - </td> - </tr> - - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-hazelcast/1.3.2/shiro-hazelcast-1.3.2.jar">shiro-hazelcast</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.ehcache.org">Ehcache</a>-based famework caching.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-hazelcast/1.3.2/shiro-hazelcast-1.3.2.jar">shiro-hazelcast</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-hazelcast</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="https://hazelcast.org">Hazelcast</a>-based - famework caching. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-features/1.3.2/shiro-features-1.3.2-features.xml">shiro-features</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="https://hazelcast.org">Hazelcast</a>-based famework caching.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-features/1.3.2/shiro-features-1.3.2.xml">shiro-features</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-features</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> OSGi / <a class="external-link" - href="http://karaf.apache.org/">Apache - Karaf</a> integration. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-guice/1.3.2/shiro-guice-1.3.2.jar">shiro-guice</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>OSGi / <a class="external-link" href="http://karaf.apache.org/">Apache Karaf</a> integration.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-guice/1.3.2/shiro-guice-1.3.2.jar">shiro-guice</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-guice</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="https://github.com/google/guice">Google Guice</a> - integration. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/1.3.2/shiro-quartz-1.3.2.jar">shiro-quartz</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="https://github.com/google/guice">Google Guice</a> integration.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/1.3.2/shiro-quartz-1.3.2.jar">shiro-quartz</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-quartz</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.quartz-scheduler.org/">Quartz</a>-based scheduling - for Shiro native session validation. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.3.2/shiro-spring-1.3.2.jar">shiro-spring</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.quartz-scheduler.org/">Quartz</a>-based scheduling for Shiro native session validation.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.3.2/shiro-spring-1.3.2.jar">shiro-spring</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.3.2</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="https://spring.io/">Spring Framework</a> - integration. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.3.2/shiro-tools-hasher-1.3.2-cli.jar">shiro-tools-hasher-cli</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"><b>Not Relevant</b></td> - <td colspan="1" rowspan="1" class="confluenceTd"> A command-line program to perform hashing (MD5, SHA, - etc) for files, streams and passwords. Note that this is a command line program and not intended to - be <br clear="none"> - used as a Maven/program dependency. It is intended to be downloaded and executed: - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"> -java -jar shiro-tools-hasher-1.3.2-cli.jar -</pre> - </div> - </div> - </td> - </tr> - </tbody> - </table> -</div> +</dependency> +</code></pre> + </td> + <td>Enables <a class="external-link" href="https://spring.io/">Spring Framework</a> integration.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.3.2/shiro-tools-hasher-1.3.2-cli.jar">shiro-tools-hasher</a> + </td> + + <td> + <b>Not Relevant</b> + </td> + + <td>A command-line program to perform hashing (MD5, SHA, etc) for files, streams and passwords. + Note that this is a command line program and not intended to be used as a Maven/program + dependency. It is intended to be downloaded and executed: + <pre><code class='bash'> java -jar shiro-tools-hasher-1.3.2-cli.jar</code></pre></td> + + </tr> + </tbody> +</table> <h3><a name="latestSource"></a>1.3.2 Source Code Distribution</h3> @@ -433,215 +504,239 @@ git checkout shiro-root-1.3.2 -b shiro-r <p> </p> -<div class="table-wrap"> - <table class="confluenceTable" id="table-1.2.x"> - <tbody> - <tr> - <th colspan="1" rowspan="1" class="confluenceTh"> Artifact</th> - <th colspan="1" rowspan="1" class="confluenceTh"> Maven Usage</th> - <th colspan="1" rowspan="1" class="confluenceTh"> Notes</th> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.2.6/shiro-all-1.2.6.jar">shiro-all</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"><b>Not Recommended</b></td> - <td colspan="1" rowspan="1" class="confluenceTd"> Includes all binary functionality for Shiro (without - dependencies), useful in certain build environments (e.g. Ant). However, this is <b>NOT</b> - recommended in Maven builds as it does not retain correct dependency metadata, which can lead to - Maven working incorrectly. For Maven builds, it is <b>highly</b> recommended to specify individual - modules listed below as you require them. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/1.2.6/shiro-core-1.2.6.jar">shiro-core</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> + +<table> + <thead> + <tr> + <th>Artifact</th> + <th>Maven Usage</th> + <th>Notes</th> + </tr> + </thead> + <tbody> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.2.6/shiro-all-1.2.6.jar">shiro-all</a> + </td> + + <td> + <b>Not Recommended</b> + </td> + + <td>Includes all binary functionality for Shiro (without dependencies), useful in certain build + environments (e.g. Ant). However, this is <b>NOT</b> recommended in Maven builds as it does not + retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, + it is <b>highly</b> recommended to specify individual modules listed below as you require them.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/1.2.6/shiro-core-1.2.6.jar">shiro-core</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Required in all environments. <a class="external-link" - href="http://slf4j.org/">Slf4j</a>'s - <tt>slf4j-api</tt> jar and one of its binding jars is required. <tt>commons-beanutils</tt> is - required only if using INI config. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/1.2.6/shiro-web-1.2.6.jar">shiro-web</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Required in all environments. <a class="external-link" href="http://slf4j.org/">Slf4j</a>'s + <code>slf4j-api</code> jar and one of its binding jars is required. <code>commons-beanutils</code> is + required only if using INI config.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/1.2.6/shiro-web-1.2.6.jar">shiro-web</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-web</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables support for web-based applications.</td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/1.2.6/shiro-aspectj-1.2.6.jar">shiro-aspectj</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables support for web-based applications.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/1.2.6/shiro-aspectj-1.2.6.jar">shiro-aspectj</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-aspectj</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.eclipse.org/aspectj/">AspectJ</a> support for - Shiro AOP and Annotations. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-cas/1.2.6/shiro-cas-1.2.6.jar">shiro-cas</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.eclipse.org/aspectj/">AspectJ</a> support for Shiro AOP and Annotations.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-cas/1.2.6/shiro-cas-1.2.6.jar">shiro-cas</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-cas</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables Jasig <a class="external-link" - href="https://wiki.jasig.org/display/CAS/Home">CAS</a> support. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/1.2.6/shiro-ehcache-1.2.6.jar">shiro-ehcache</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables Jasig <a class="external-link" href="https://wiki.jasig.org/display/CAS/Home">CAS</a> support. + <div class="warning"> + <span>NOTE:</span> + Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based <a href="https://github.com/bujiio/buji-pac4j">buji-pac4j</a> project. + </div></td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/1.2.6/shiro-ehcache-1.2.6.jar">shiro-ehcache</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-ehcache</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.ehcache.org">Ehcache</a>-based - famework caching. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-features/1.2.6/shiro-features-1.2.6-features.xml">shiro-features</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.ehcache.org">Ehcache</a>-based famework caching.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-features/1.2.6/shiro-features-1.2.6.xml">shiro-features</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-features</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> OSGi / <a class="external-link" - href="http://karaf.apache.org/">Apache - Karaf</a> integration. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-guice/1.2.6/shiro-guice-1.2.6.jar">shiro-guice</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>OSGi / <a class="external-link" href="http://karaf.apache.org/">Apache Karaf</a> integration.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-guice/1.2.6/shiro-guice-1.2.6.jar">shiro-guice</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-guice</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="https://github.com/google/guice">Google Guice</a> - integration. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/1.2.6/shiro-quartz-1.2.6.jar">shiro-quartz</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="https://github.com/google/guice">Google Guice</a> integration.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/1.2.6/shiro-quartz-1.2.6.jar">shiro-quartz</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-quartz</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.quartz-scheduler.org/">Quartz</a>-based scheduling - for Shiro native session validation. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.2.6/shiro-spring-1.2.6.jar">shiro-spring</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.quartz-scheduler.org/">Quartz</a>-based scheduling for Shiro native session validation.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.2.6/shiro-spring-1.2.6.jar">shiro-spring</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.2.6</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="https://spring.io/">Spring Framework</a> - integration. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.2.6/shiro-tools-hasher-1.2.6-cli.jar">shiro-tools-hasher-cli</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"><b>Not Relevant</b></td> - <td colspan="1" rowspan="1" class="confluenceTd"> A command-line program to perform hashing (MD5, SHA, - etc) for files, streams and passwords. Note that this is a command line program and not intended to - be <br clear="none"> - used as a Maven/program dependency. It is intended to be downloaded and executed: - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"> -java -jar shiro-tools-hasher-1.2.6-cli.jar -</pre> - </div> - </div> - </td> - </tr> - </tbody> - </table> -</div> +</dependency> +</code></pre> + </td> + <td>Enables <a class="external-link" href="https://spring.io/">Spring Framework</a> integration.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.2.6/shiro-tools-hasher-1.2.6-cli.jar">shiro-tools-hasher</a> + </td> + + <td> + <b>Not Relevant</b> + </td> + + <td>A command-line program to perform hashing (MD5, SHA, etc) for files, streams and passwords. + Note that this is a command line program and not intended to be used as a Maven/program + dependency. It is intended to be downloaded and executed: + <pre><code class='bash'> java -jar shiro-tools-hasher-1.2.6-cli.jar</code></pre></td> + + </tr> + </tbody> +</table> <h3><a name="1.2.xSource"></a>1.2.6 Source Code Distribution</h3> @@ -680,142 +775,158 @@ git checkout shiro-root-1.2.6 -b shiro-r <p> </p> -<div class="table-wrap"> - <table class="confluenceTable" id="table-1.1.0"> - <tbody> - <tr> - <th colspan="1" rowspan="1" class="confluenceTh"> Artifact</th> - <th colspan="1" rowspan="1" class="confluenceTh"> Maven Usage</th> - <th colspan="1" rowspan="1" class="confluenceTh"> Notes</th> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.1.0/shiro-all-1.1.0.jar">shiro-all</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"><b>Not Recommended</b></td> - <td colspan="1" rowspan="1" class="confluenceTd"> Includes all binary functionality for Shiro (without - dependencies), useful in certain build environments (e.g. Ant). However, this is <b>NOT</b> - recommended in Maven builds as it does not retain correct dependency metadata, which can lead to - Maven working incorrectly. For Maven builds, it is <b>highly</b> recommended to specify individual - modules listed below as you require them. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/1.1.0/shiro-core-1.1.0.jar">shiro-core</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> + +<table> + <thead> + <tr> + <th>Artifact</th> + <th>Maven Usage</th> + <th>Notes</th> + </tr> + </thead> + <tbody> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.1.0/shiro-all-1.1.0.jar">shiro-all</a> + </td> + + <td> + <b>Not Recommended</b> + </td> + + <td>Includes all binary functionality for Shiro (without dependencies), useful in certain build + environments (e.g. Ant). However, this is <b>NOT</b> recommended in Maven builds as it does not + retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, + it is <b>highly</b> recommended to specify individual modules listed below as you require them.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-core/1.1.0/shiro-core-1.1.0.jar">shiro-core</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-core</artifactId> <version>1.1.0</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Required in all environments. <a class="external-link" - href="http://slf4j.org/">Slf4j</a>'s - <tt>slf4j-api</tt> jar and one of its binding jars is required. <tt>commons-beanutils</tt> is - required only if using INI config. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/1.1.0/shiro-web-1.1.0.jar">shiro-web</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Required in all environments. <a class="external-link" href="http://slf4j.org/">Slf4j</a>'s + <code>slf4j-api</code> jar and one of its binding jars is required. <code>commons-beanutils</code> is + required only if using INI config.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-web/1.1.0/shiro-web-1.1.0.jar">shiro-web</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-web</artifactId> <version>1.1.0</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables support for web-based applications.</td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/1.1.0/shiro-aspectj-1.1.0.jar">shiro-aspectj</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables support for web-based applications.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-aspectj/1.1.0/shiro-aspectj-1.1.0.jar">shiro-aspectj</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-aspectj</artifactId> <version>1.1.0</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.eclipse.org/aspectj/">AspectJ</a> support for - Shiro AOP and Annotations. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/1.1.0/shiro-ehcache-1.1.0.jar">shiro-ehcache</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.eclipse.org/aspectj/">AspectJ</a> support for Shiro AOP and Annotations.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-ehcache/1.1.0/shiro-ehcache-1.1.0.jar">shiro-ehcache</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-ehcache</artifactId> <version>1.1.0</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.ehcache.org">Ehcache</a>-based - famework caching. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/1.1.0/shiro-quartz-1.1.0.jar">shiro-quartz</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.ehcache.org">Ehcache</a>-based famework caching.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-quartz/1.1.0/shiro-quartz-1.1.0.jar">shiro-quartz</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-quartz</artifactId> <version>1.1.0</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="http://www.quartz-scheduler.org/">Quartz</a>-based scheduling - for Shiro native session validation. - </td> - </tr> - <tr> - <td colspan="1" rowspan="1" class="confluenceTd"><a class="external-link" - href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.1.0/shiro-spring-1.1.0.jar">shiro-spring</a></td> - <td colspan="1" rowspan="1" class="confluenceTd"> - <div class="code panel" style="border-width: 1px;"> - <div class="codeContent panelContent"> -<pre class="code-java"><dependency> +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="http://www.quartz-scheduler.org/">Quartz</a>-based scheduling for Shiro native session validation.</td> + + </tr> + <tr> + + + <td style="white-space: nowrap;"> + <a href="http://repo1.maven.org/maven2/org/apache/shiro/shiro-spring/1.1.0/shiro-spring-1.1.0.jar">shiro-spring</a> + </td> + + <td> + <pre><code class="xml"> +<dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring</artifactId> <version>1.1.0</version> -</dependency></pre> - </div> - </div> - </td> - <td colspan="1" rowspan="1" class="confluenceTd"> Enables <a class="external-link" - href="https://spring.io/">Spring Framework</a> - integration. - </td> - </tr> - </tbody> - </table> -</div> - +</dependency> +</code></pre> + </td> + + <td>Enables <a class="external-link" href="https://spring.io/">Spring Framework</a> integration.</td> + + </tr> + </tbody> +</table> <h4><a name="1.1.0Source"></a>1.1.0 Source Code Distribution</h4> @@ -841,329 +952,6 @@ git checkout shiro-root-1.1.0 -b shiro-r </div> -<script type="text/javascript"> <!-- -//Copyright(c)2005,2010 Bob Swift and other contributors. All rights reserved. -function getElementInnerText(element) { - var str = ""; - for (var i = 0; i < element.childNodes.length; i++) { - switch (element.childNodes.item(i).nodeType) { - case 1: - str += getElementInnerText(element.childNodes.item(i)); - break; - case 3: - str += element.childNodes.item(i).nodeValue; - break; - } - } - return str; -} -function trimSafe(v) { - return((v == undefined) || (v == null)) ? "" : v.Trim(); -} -String.prototype.Trim = new Function("return this.replace(/^\\s+|\\s+$/g,'')"); -function compareNumber(v1, v2) { - if (isNaN(v2)) { - if (isNaN(v1))return 0; - return-1; - } - if (v1 < v2)return-1; - if (v1 == v2)return 0; - return 1; -} -function compareSeparatedNumber(v1, v2) { - for (i = 0; (i < v1.length) && (i < v2.length); i++) { - var result = compareNumber(parseInt(v1[i]), parseInt(v2[i])); - if (result != 0)return result; - } - if (v1.length < v2.length)return-1; - if (v2.length < v1.length)return 1; - return 0; -} -function sortByCell(sortCell, firstDataRowIndex, footingCount) { - var compareFunction; - var valueParser; - compareFunction = compareNumber; - if (sortCell.columnType == "I") { - valueParser = function (value) { - return parseInt(getElementInnerText(value)); - }; - } else if (sortCell.columnType == "F") { - valueParser = function (value) { - return parseFloat(getElementInnerText(value)); - }; - } else if (sortCell.columnType == "C") { - valueParser = function (value) { - return parseFloat(getElementInnerText(value).replace(/[^\d\.\,\-]*([\d\.\,\-*]*).*/, '$1')); - }; - } else if (sortCell.columnType.charAt(0) == 'D') { - if (Date.parseString) { - valueParser = function (value) { - var date = Date.parseString(trimSafe(getElementInnerText(value)), sortCell.columnType.substring(1)); - return((date == null) ? NaN : date.getTime()); - }; - } else { - valueParser = function (value) { - return Date.parse(getElementInnerText(value)); - }; - } - } else if ((sortCell.columnType == "/") || (sortCell.columnType == ".") || (sortCell.columnType == "-") || (sortCell.columnType == ":")) { - compareFunction = compareSeparatedNumber; - valueParser = function (value) { - return getElementInnerText(value).split(sortCell.columnType); - }; - } else if (sortCell.columnType == "A") { - valueParser = function (value) { - return 0; - }; - } else { - compareFunction = function (v1, v2) { - if (v1 < v2)return-1; - if (v1 == v2)return 0; - return 1; - }; - valueParser = function (value) { - return trimSafe(getElementInnerText(value)).toUpperCase(); - }; - } - var headRowCount = (sortCell.sortTable.tHead == null) ? 0 : sortCell.sortTable.tHead.rows.length; - firstDataRowIndex = firstDataRowIndex - headRowCount; - var table = sortCell.sortTable.tBodies[0]; - var rowCount = table.rows.length - firstDataRowIndex - footingCount; - var map = Array(rowCount); - var values = Array(rowCount); - var compareTest = (sortCell.sortDescending ? -1 : 1); - sortCell.sortDescending = !sortCell.sortDescending; - var firstCell = (((sortCell.sortTable.tHead == null) || (sortCell.sortTable.tHead.rows.length == 0)) ? table.rows[0].cells[sortCell.columnIndex] : sortCell.sortTable.tHead.rows[0].cells[sortCell.columnIndex]); - if ((firstCell != null) && (firstCell.sortTable != null) && (firstCell.sortTable != undefined) && (firstCell.sortTable.sortImage != null) && (firstCell.sortTable.sortImage != undefined)) { - firstCell.sortTable.sortImage.setAttribute("src", firstCell.sortDescending ? firstCell.sortTable.sortAttributeDescending : firstCell.sortTable.sortAttributeAscending); - firstCell.appendChild(firstCell.sortTable.sortImage); - } - var i; - for (i = 0; i < rowCount; i++) { - map[i] = sortCell.sortFirstTime ? i : (rowCount - 1 - i); - var row = table.rows[i + firstDataRowIndex]; - var cellValue = row.cells[sortCell.columnIndex]; - values[i] = valueParser(cellValue); - } - sortCell.sortFirstTime = false; - var didSwap; - do { - didSwap = false; - for (i = 0; i < rowCount - 1; i++) { - if (compareFunction(values[map[i]], values[map[i + 1]]) == compareTest) { - saveIndex = map[i]; - map[i] = map[i + 1]; - map[i + 1] = saveIndex; - didSwap = true; - } - } - } while (didSwap); - var tableRows = new Array(); - for (i = 0; i < rowCount + footingCount; i++) { - tableRows.push(table.rows[i + firstDataRowIndex]); - } - for (i = 0; i < rowCount + footingCount; i++) { - table.removeChild(tableRows[i]); - } - for (i = 0; i < rowCount; i++) { - var row = tableRows[map[i]]; - table.appendChild(row); - if (row.autoNumber) { - row.cells[0].innerHTML = i + 1; - } - } - for (i = 0; i < footingCount; i++) { - table.appendChild(tableRows[i + rowCount]); - } -} -function enableSortOnCell(cell, columnIndex, table, columnTypes, customize) { - cell.style.cursor = "pointer"; - cell.sortTable = table; - cell.sortFirstTime = true; - cell.sortDescending = false; - cell.columnIndex = (customize.autoNumber ? (columnIndex + 1) : columnIndex); - if (columnIndex == -1) { - cell.columnType = "I"; - } else { - cell.columnType = (columnTypes && columnTypes[columnIndex]) ? columnTypes[columnIndex] : "S"; - } - if (cell.columnType != "X") { - cell.onmouseover = function () { - this.saveTitle = this.getAttribute('title'); - this.setAttribute('title', customize.sortTip + " " + ((this.saveTitle != null) && (this.saveTitle != undefined) ? this.saveTitle : '')); - }; - cell.onmouseout = function () { - this.setAttribute('title', this.saveTitle); - }; - cell.onclick = function () { - sortByCell(this, customize.firstDataRowIndex, customize.footingCount); - }; - } else { - cell.columnType = cell.columnType.substring(1); - } -} -function sumColumn(table, index, firstDataRowIndex, columnType) { - var total = 0; - for (var i = firstDataRowIndex; i < table.rows.length; i++) { - var cell = table.rows[i].cells[index]; - var value; - if (cell) { - if (columnType == 'C') { - value = parseFloat(getElementInnerText(cell).replace(/[^\d\.\,\-]*([\d\.\,\-*]*).*/, '$1')) - } else { - value = parseFloat(getElementInnerText(cell)); - } - if (!isNaN(value)) { - total = total + value; - } - } - } - return total; -} -function appendTotalRow(table, columnTypes, firstDataRowIndex) { - var row = document.createElement('tr'); - var table = table.tBodies[0]; - var columnCount = (0 < table.rows.length) ? table.rows[table.rows.length - 1].cells.length : 0; - for (var columnIndex = 0; columnIndex < columnCount; columnIndex++) { - var column = document.createElement('th'); - column.className = 'confluenceTh'; - column.innerHTML = (columnIndex < columnTypes.length && ((columnTypes[columnIndex] == 'I') || (columnTypes[columnIndex] == 'F') || (columnTypes[columnIndex] == 'C'))) ? sumColumn(table, columnIndex, firstDataRowIndex, columnTypes[columnIndex]) : ''; - row.appendChild(column); - } - table.appendChild(row); -} -function handleRow(table, row, rowIndex, customize) { - var columnCount = row.cells.length; - for (var i = 0; i < columnCount; i++) { - if (customize.enableSorting && (rowIndex <= customize.lastClickableRow)) { - enableSortOnCell(row.cells[i], i, table, customize.columnTypes, customize); - } - if ((rowIndex == 0) && (customize.sortColumn != '') && (customize.sortCell == null) && (((i + 1).toString() == customize.sortColumn) || (trimSafe(getElementInnerText(row.cells[i])) == customize.sortColumn) || (trimSafe(row.cells[i].getAttribute('title')) == customize.sortColumn))) { - customize.sortCell = row.cells[i]; - } - if (customize.firstDataRowIndex <= rowIndex) { - if ((customize.columnTypes[i] == "I") || (customize.columnTypes[i] == "F") || (customize.columnTypes[i] == "C")) { - row.cells[i].style.textAlign = "right"; - } - } - if (customize.columnTypes[i] == "H") { - row.cells[i].style.display = "none"; - } - if (customize.enableHeadingAttributes || (customize.firstDataRowIndex <= rowIndex)) { - if (i < customize.attrList.length) { - for (var j = 0; j < customize.attrList[i].length; j++) { - var attr = customize.attrList[i][j].Trim().split("="); - if (1 < attr.length) { - var aName = attr[0].Trim(); - var aValue = attr[1].Trim(); - if ((aName.toLowerCase() == "style") && (2 < aValue.length)) { - if ((aValue.charAt(0) == '"')) { - aValue = aValue.substring(1, aValue.length - 1); - } - row.cells[i].style.cssText = aValue; - } else { - row.cells[i].setAttribute(aName, aValue); - } - } - } - } - } - } - if (customize.autoNumber) { - var column = document.createElement(!customize.autoNumberSort || (rowIndex < customize.firstDataRowIndex) ? 'th' : 'td'); - column.className = (!customize.autoNumberSort || (rowIndex < customize.firstDataRowIndex) ? 'confluenceTh' : 'confluenceTd'); - column.innerHTML = ((rowIndex < customize.firstDataRowIndex) || (customize.totalRowCount - customize.firstDataRowIndex - customize.footingCount < rowIndex) ? '' : customize.dataRowCount++); - column.setAttribute('align', 'right'); - row.autoNumber = !customize.autoNumberSort; - row.insertBefore(column, row.cells[0]); - if (customize.enableSorting && customize.autoNumberSort && (rowIndex <= customize.lastClickableRow)) { - enableSortOnCell(column, -1, table, null, customize); - } - } - if ((customize.highlightColor != "") && (customize.firstDataRowIndex <= rowIndex)) { - row.onmouseover = function () { - this.tableHighLightRowColor = this.bgColor; - this.bgColor = customize.highlightColor; - }; - row.onmouseout = function () { - this.bgColor = this.tableHighLightRowColor; - this.tableHighLightRowColor = null; - }; - } -} -function customizeMacroTable(tableId, columnTypes, firstDataRowIndex, highlightColor, enableSorting, sortTip, sortColumn, sortDescending, autoNumber, autoNumberSort, enableHeadingAttributes, footingCount, autoTotal, iconLocation) { - var customize = new Object; - customize.columnTypes = columnTypes; - customize.firstDataRowIndex = firstDataRowIndex; - customize.highlightColor = highlightColor; - customize.enableSorting = enableSorting; - customize.sortTip = sortTip; - customize.sortColumn = sortColumn; - customize.sortDescending = sortDescending; - customize.autoNumber = autoNumber; - customize.autoNumberSort = autoNumberSort; - customize.enableHeadingAttributes = enableHeadingAttributes; - customize.footingCount = footingCount; - customize.autoTotal = autoTotal; - customize.iconLocation = iconLocation; - var table = (typeof(tableId) == "string") ? document.getElementById(tableId) : null; - if (table) { - if (customize.autoTotal) { - appendTotalRow(table, customize.columnTypes, customize.firstDataRowIndex); - customize.footingCount++; - } - if (customize.iconLocation != "") { - table.sortAttributeAscending = contextPath + customize.iconLocation + "down.gif"; - table.sortAttributeDescending = contextPath + customize.iconLocation + "up.gif"; - table.sortImage = document.createElement("IMG"); - } - customize.lastClickableRow = customize.firstDataRowIndex - 1; - if (customize.lastClickableRow < 0) { - customize.lastClickableRow = 0; - } - customize.sortCell = null; - customize.dataRowCount = 1; - var colAttrs = columnAttributes.split(","); - customize.attrList = Array(colAttrs.length); - for (var i = 0; i < colAttrs.length; i++) { - customize.attrList[i] = colAttrs[i].Trim().split(";;"); - } - var rowIndex = 0; - var headRowCount = (table.tHead == null) ? 0 : table.tHead.rows.length; - var footRowCount = (table.tFoot == null) ? 0 : table.tFoot.rows.length; - var bodyRowCount = table.tBodies[0].rows.length; - customize.totalRowCount = headRowCount + footRowCount + bodyRowCount; - for (var i = 0; i < headRowCount; i++) { - var row = table.tHead.rows[i]; - handleRow(table, row, rowIndex, customize); - rowIndex++; - } - for (var i = 0; i < bodyRowCount; i++) { - var row = table.tBodies[0].rows[i]; - handleRow(table, row, rowIndex, customize); - rowIndex++; - } - for (var i = 0; i < footRowCount; i++) { - var row = table.tFoot.rows[i]; - handleRow(table, row, rowIndex, customize); - rowIndex++; - } - if (customize.sortCell != null) { - customize.sortCell.sortDescending = customize.sortDescending; - sortByCell(customize.sortCell, customize.firstDataRowIndex, customize.footingCount); - } - } - return table; -} - -var columnTypes = ['S']; -var columnAttributes = 'style="white-space:nowrap;",,'; -customizeMacroTable('table-latest', columnTypes, 1, 'lightgoldenrodyellow', true, 'Click to sort', '', false, false, false, true, 0, false, ''); -customizeMacroTable('table-1.2.x', columnTypes, 1, 'lightgoldenrodyellow', true, 'Click to sort', '', false, false, false, true, 0, false, ''); -customizeMacroTable('table-1.1.0', columnTypes, 1, 'lightgoldenrodyellow', true, 'Click to sort', '', false, false, false, true, 0, false, ''); -//--> -</script> - <input type="hidden" id="ghEditPage" value="download.html.vtl"></input> </div>
Modified: shiro/site/publish/events.html URL: http://svn.apache.org/viewvc/shiro/site/publish/events.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/events.html (original) +++ shiro/site/publish/events.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/features-overview.html URL: http://svn.apache.org/viewvc/shiro/site/publish/features-overview.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/features-overview.html (original) +++ shiro/site/publish/features-overview.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/features.html URL: http://svn.apache.org/viewvc/shiro/site/publish/features.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/features.html (original) +++ shiro/site/publish/features.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/forums.html URL: http://svn.apache.org/viewvc/shiro/site/publish/forums.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/forums.html (original) +++ shiro/site/publish/forums.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/get-started.html URL: http://svn.apache.org/viewvc/shiro/site/publish/get-started.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/get-started.html (original) +++ shiro/site/publish/get-started.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/getting-started-block.html URL: http://svn.apache.org/viewvc/shiro/site/publish/getting-started-block.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/getting-started-block.html (original) +++ shiro/site/publish/getting-started-block.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/graduation-resolution.html URL: http://svn.apache.org/viewvc/shiro/site/publish/graduation-resolution.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/graduation-resolution.html (original) +++ shiro/site/publish/graduation-resolution.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/guice.html URL: http://svn.apache.org/viewvc/shiro/site/publish/guice.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/guice.html (original) +++ shiro/site/publish/guice.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/guides.html URL: http://svn.apache.org/viewvc/shiro/site/publish/guides.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/guides.html (original) +++ shiro/site/publish/guides.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/how-to-contribute.html URL: http://svn.apache.org/viewvc/shiro/site/publish/how-to-contribute.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/how-to-contribute.html (original) +++ shiro/site/publish/how-to-contribute.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/inclusionslibrary.html URL: http://svn.apache.org/viewvc/shiro/site/publish/inclusionslibrary.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/inclusionslibrary.html (original) +++ shiro/site/publish/inclusionslibrary.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/index.html URL: http://svn.apache.org/viewvc/shiro/site/publish/index.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/index.html (original) +++ shiro/site/publish/index.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/integration.html URL: http://svn.apache.org/viewvc/shiro/site/publish/integration.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/integration.html (original) +++ shiro/site/publish/integration.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/introduction.html URL: http://svn.apache.org/viewvc/shiro/site/publish/introduction.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/introduction.html (original) +++ shiro/site/publish/introduction.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/issues.html URL: http://svn.apache.org/viewvc/shiro/site/publish/issues.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/issues.html (original) +++ shiro/site/publish/issues.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/java-annotations-list.html URL: http://svn.apache.org/viewvc/shiro/site/publish/java-annotations-list.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/java-annotations-list.html (original) +++ shiro/site/publish/java-annotations-list.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/java-annotations.html URL: http://svn.apache.org/viewvc/shiro/site/publish/java-annotations.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/java-annotations.html (original) +++ shiro/site/publish/java-annotations.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/java-authentication-guide.html URL: http://svn.apache.org/viewvc/shiro/site/publish/java-authentication-guide.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/java-authentication-guide.html (original) +++ shiro/site/publish/java-authentication-guide.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/java-authorization-guide.html URL: http://svn.apache.org/viewvc/shiro/site/publish/java-authorization-guide.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/java-authorization-guide.html (original) +++ shiro/site/publish/java-authorization-guide.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/java-cryptography-guide.html URL: http://svn.apache.org/viewvc/shiro/site/publish/java-cryptography-guide.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/java-cryptography-guide.html (original) +++ shiro/site/publish/java-cryptography-guide.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/jsp-tag-library.html URL: http://svn.apache.org/viewvc/shiro/site/publish/jsp-tag-library.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/jsp-tag-library.html (original) +++ shiro/site/publish/jsp-tag-library.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/license.html URL: http://svn.apache.org/viewvc/shiro/site/publish/license.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/license.html (original) +++ shiro/site/publish/license.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/mailing-lists.html URL: http://svn.apache.org/viewvc/shiro/site/publish/mailing-lists.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/mailing-lists.html (original) +++ shiro/site/publish/mailing-lists.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/navigation.html URL: http://svn.apache.org/viewvc/shiro/site/publish/navigation.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/navigation.html (original) +++ shiro/site/publish/navigation.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/news.html URL: http://svn.apache.org/viewvc/shiro/site/publish/news.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/news.html (original) +++ shiro/site/publish/news.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/overview.html URL: http://svn.apache.org/viewvc/shiro/site/publish/overview.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/overview.html (original) +++ shiro/site/publish/overview.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management."> Modified: shiro/site/publish/performing-a-release.html URL: http://svn.apache.org/viewvc/shiro/site/publish/performing-a-release.html?rev=1766461&r1=1766460&r2=1766461&view=diff ============================================================================== --- shiro/site/publish/performing-a-release.html (original) +++ shiro/site/publish/performing-a-release.html Tue Oct 25 01:06:19 2016 @@ -16,6 +16,24 @@ --> <html> + + + + + + + + + + + + + + + + + + <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management.">
