shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r1562965 [6/6] - in /shiro/site: publish/ publish/2010/03/18/ publish/2010/06/01/ publish/2010/09/14/ publish/2010/09/20/ publish/2010/09/24/ publish/2010/11/03/ publish/2011/01/06/ publish/2011/01/13/ publish/2011/02/10/ publish/2011/02/28...
Date Thu, 30 Jan 2014 21:13:53 GMT
Modified: shiro/site/trunk/templates/default.vtl
URL: http://svn.apache.org/viewvc/shiro/site/trunk/templates/default.vtl?rev=1562965&r1=1562964&r2=1562965&view=diff
==============================================================================
--- shiro/site/trunk/templates/default.vtl (original)
+++ shiro/site/trunk/templates/default.vtl Thu Jan 30 21:13:51 2014
@@ -62,30 +62,14 @@
 
         <div id="header">
             <a href="$root/index.html"><div id="logo"></div></a>
-            <div id="navigation">
-                <a href="$root/download.html">
-                    <div class="navigation-button">Get Started</div>
-                </a>
-                <a href="$root/documentation.html">
-                    <div class="navigation-button">Get Smart</div>
-                </a>
-                <a href="$root/support.html">
-                    <div class="navigation-button">Get Help</div>
-                </a>
-                <a href="$root/commercial-support.html">
-                    <div class="navigation-button">Get Support</div>
-                </a>
-            </div> <!--END NAVIGATION-->
-            <div id="secondary-navigation">
-                <ul>
-                    <li><a href="$root/documentation.html">Documentation</a></li>
-                    <li><a href="$root/news.html">News</a></li>
-                    <li><a href="$root/events.html">Events</a></li>
-                    <li><a href="http://twitter.com/ApacheShiro/">Twitter</a></li>
-                    <li><a href="$root/mailing-lists.html">Mailing lists</a></li>
-                    <li><a href="$root/contribute.html">Contribute</a></li>
-                </ul>
-            </div> <!--END SECONDARY NAVIGATION-->
+            <ul class="navigation">
+                <li><a href="$root/get-started.html">Get Started</a></li>
+                <li><a href="$root/documentation.html">Docs</a></li>
+                <li><a href="$root/web-features.html">Web Apps</a></li>
+                <li><a href="$root/integration.html">Integrations</a></li>
+                <li><a href="$root/features.html">Features</a></li>
+                <li><a href="$root/community.html">Community</a></li>
+            </ul>
         </div>
 
         <div id="content">
@@ -110,4 +94,4 @@
     </div> <!--END FOOTER-->
 
 </body>
-</html>
\ No newline at end of file
+</html>

Modified: shiro/site/trunk/tutorial.html
URL: http://svn.apache.org/viewvc/shiro/site/trunk/tutorial.html?rev=1562965&r1=1562964&r2=1562965&view=diff
==============================================================================
--- shiro/site/trunk/tutorial.html (original)
+++ shiro/site/trunk/tutorial.html Thu Jan 30 21:13:51 2014
@@ -1,5 +1,26 @@
 <h1><a name="Tutorial-ApacheShiroTutorial"></a>Apache Shiro Tutorial</h1>
 
+<table align="right" width="275" style="margin-left: 20px; margin-bottom: 20px; border-style:
solid; border-width: 2px; border-color: navy" cellpadding="10px">
+
+<tr>
+<td>
+<div id="border">
+  <h2>Related Content</h2>
+	
+  <h3><a href="get-started.html">Getting Started</a></h3>
+  <p>Resources, guides and tutorials for new Shiro users. </br><span style="font-size:11"><a
href="get-started.html">Read More &gt;&gt;</a></span></p>	
+	
+	<h3><a href="10-minute-tutorial.html">10-Minute Shiro Tutorial</a></h3>
+  <p>Try Apache Shiro for yourself in under 10 minutes. </br><span style="font-size:11"><a
href="10-minute-tutorial.html">Read More &gt;&gt;</a></span></p>
+	
+  <h3><a href="webapp-tutorial.html">Web App Tutorial</a></h3>
+  <p>Step-by-step tutorial for securing a web application with Shiro. </br><span
style="font-size:11"><a href="webapp-tutorial.html">Read More &gt;&gt;</a></span></p>
+	
+</div>
+</td>
+</tr>
+</table>
+
 <h2><a name="Tutorial-YourFirstApacheShiroApplication"></a>Your First Apache
Shiro Application</h2>
 
 <p>If you're new to Apache Shiro, this short tutorial will show you how to set up an
initial and very simple application secured by Apache Shiro.  We'll discuss Shiro's core concepts
along the way to help familiarize you with Shiro's design and API.</p>
@@ -7,7 +28,6 @@
 <p>If you don't want to actually edit files as you follow this tutorial, you can obtain
a nearly identical sample application and reference it as you go.  Choose a location:</p>
 <ul><li>In Apache Shiro's Subversion repository: <a class="external-link"
href="https://svn.apache.org/repos/asf/shiro/trunk/samples/quickstart/">https://svn.apache.org/repos/asf/shiro/trunk/samples/quickstart/</a></li><li>In
Apache Shiro's source distribution's <tt>samples/quickstart</tt> directory.  The
source distribution is available from the <a href="download.html" title="Download">Download</a>
page.</li></ul>
 
-
 <h3><a name="Tutorial-Setup"></a>Setup</h3>
 
 <p>In this simple example, we'll create a very simple command-line application that
will run and quickly exit, just so you can get a feel for Shiro's API.</p>
@@ -490,4 +510,4 @@ currentUser.logout(); <span class="code-
 
 <p>But this was a fairly simple application.  You might have asked yourself, "What
if I don't want to use INI user accounts and instead want to connect to a more complex user
data source?"</p>
 
-<p>To answer that question requires a little deeper understanding of Shiro's architecture
and supporting configuration mechanisms.  We'll cover Shiro's <a href="architecture.html"
title="Architecture">Architecture</a> next.</p>
\ No newline at end of file
+<p>To answer that question requires a little deeper understanding of Shiro's architecture
and supporting configuration mechanisms.  We'll cover Shiro's <a href="architecture.html"
title="Architecture">Architecture</a> next.</p>

Added: shiro/site/trunk/web-features.md
URL: http://svn.apache.org/viewvc/shiro/site/trunk/web-features.md?rev=1562965&view=auto
==============================================================================
--- shiro/site/trunk/web-features.md (added)
+++ shiro/site/trunk/web-features.md Thu Jan 30 21:13:51 2014
@@ -0,0 +1,43 @@
+title: Apache Shiro for Web Applications
+
+# Apache Shiro for Web Applications
+
+
+
+Although Apache Shiro is designed to be used to secure _any_ JVM-based application, it is
most commonly used to secure a web application. It greatly simplifies how you secure web applications
base on simple URL pattern matching and filter chain definitions. In addition to Shiro's API,
Shiro's web support includes a rich JSP tag library to control page output.
+	
+##Features
+
+<table align="right" width="275" style="margin-left: 15px; margin-bottom: 20px; border-style:
solid; border-width: 2px; border-color: navy" cellpadding="10px">
+
+<tr>
+<td>
+<div id="border">
+  <h2>Related Content</h2>
+	
+  <h3><a href="webapp-tutorial.html">Web App Tutorial</a></h3>
+  <p>Step-by-step tutorial for securing a web application with Shiro. </br><span
style="font-size:11"><a href="webapp-tutorial.html">Read More &gt;&gt;</a></span></p>
+	
+  <h3><a href="web.html">Web Support Docs</a></h3>
+  <p>Detailed support for integrating Shiro into web applications. </br><span
style="font-size:11"><a href="web.html">Read More &gt;&gt;</a></span></p>
+	
+</div>
+</td>
+</tr>
+</table>
+
+* **Simple ShiroFilter web.xml definition** 
+You can enable Shiro for a web application with one simple filter definition in web.xml.
+
+* **Protects all URLs**
+Shiro can protect any type of web request that comes into your system.  For example, dynamically
generated pages, REST request, etc.
+
+* **Innovative Filtering (URL-specific chains)**
+Defining URL specific filter chains is much easier and more intuitive than using web.xml
because, in Shiro, you can explicitly specify which filters you want to execute for each path
and in what order.  And with Shiro you can have path-specific configuration for each filter
in that chain.
+
+
+* **JSP Tag support**
+The JSP tags allow you to easily control page output based on the current user's state and
access rights.
+
+* **Transparent HttpSession support**
+If you are using Shiro's native sessions, we have implemented HTTP Session API and the Servlet
2.5 API so you don't have to change any of your existing web code to use Shiro.
\ No newline at end of file

Modified: shiro/site/trunk/web.html
URL: http://svn.apache.org/viewvc/shiro/site/trunk/web.html?rev=1562965&r1=1562964&r2=1562965&view=diff
==============================================================================
--- shiro/site/trunk/web.html (original)
+++ shiro/site/trunk/web.html Thu Jan 30 21:13:51 2014
@@ -1,4 +1,34 @@
 <h1><a name="Web-ApacheShiroWebSupport"></a>Apache Shiro Web Support</h1>
+
+<table align="right" width="275" style="margin-left: 20px; margin-bottom: 20px; border-style:
solid; border-width: 2px; border-color: navy" cellpadding="10px">
+
+<tr>
+<td>
+<div id="border">
+  <h2>Related Content</h2>
+	
+  <h3><a href="web-features.html">Web Apps with Shiro</a></h3>
+  <p>Learn more about integrating Shiro into web applications. </br><span
style="font-size:11"><a href="web-features.html">Read More &gt;&gt;</a></span></p>
+	
+  <h3><a href="webapp-tutorial.html">Web App Tutorial</a></h3>
+  <p>Step-by-step tutorial for securing a web application with Shiro. </br><span
style="font-size:11"><a href="webapp-tutorial.html">Read More &gt;&gt;</a></span></p>
+	
+  <h3><a href="/session-management-features.html">Session Management</a></h3>
+  <p>Shiro enables sessions for any application environment. Learn more! </br><span
style="font-size:11"><a href="/session-management-features.html">Read More &gt;&gt;</a></span></p>
+	
+  <h3><a href="//permissions.html">Permissions</a></h3>
+  <p>Learn more about Shiro's powerful and intuitive permission syntax. </br><span
style="font-size:11"><a href="/permissions.html">Read More &gt;&gt;</a></span></p>
+	
+  <h3><a href="java-authentication-guide.html">Java Authentication Guide</a></h3>
+  <p>Learn how Authentication in Java is performed in Shiro. </br><span style="font-size:11"><a
href="java-authentication-guide.html">Read More &gt;&gt;</a></span></p>

+	
+  <h3><a href="java-authorization-guide.html">Java Authorization Guide</a></h3>
+  <p>Learn how Shiro handles access control in Java. </br><span style="font-size:11"><a
href="java-authorization-guide.html">Read More &gt;&gt;</a></span></p>

+
+</div>
+</td>
+</tr>
+</table>
 <div class="toc">
 <ul><li><a href="#Web-Configuration">Configuration</a></li><ul><li><a
href="#Web-%7B%7Bweb.xml%7D%7D"> <tt>web.xml</tt></a></li><ul><li><a
href="#Web-Shiro1.2andlater">Shiro 1.2 and later</a></li><ul><li><a
href="#Web-Custom%7B%7BWebEnvironment%7D%7DClass">Custom <tt>WebEnvironment</tt>
Class</a></li><li><a href="#Web-CustomConfigurationLocations">Custom
Configuration Locations</a></li></ul><li><a href="#Web-Shiro1.1andearlier">Shiro
1.1 and earlier</a></li><ul><li><a href="#Web-CustomPath">Custom
Path</a></li><li><a href="#Web-InlineConfig">Inline Config</a></li></ul></ul><li><a
href="#Web-WebINIconfiguration">Web INI configuration</a></li><ul><li><a
href="#Web-%7B%7B%5Curls%5C%7D%7D"> <tt>[urls]</tt></a></li><ul><li><a
href="#Web-URLPathExpressions">URL Path Expressions</a></li><li><a
href="#Web-FilterChainDefinitions">Filter Chain Definitions</a></li><ul><li><a
href="#Web-AvailableFilters">Available Filters</a></li></ul></ul></ul></ul><li><a
href="#Web-DefaultFilters">Default Fil
 ters</a></li><li><a href="#Web-EnablingandDisablingFilters">Enabling
and Disabling Filters</a></li><ul><li><a href="#Web-GeneralEnabling%2FDisabling">General
Enabling/Disabling</a></li><li><a href="#Web-RequestspecificEnabling%2FDisabling">Request-specific
Enabling/Disabling</a></li><li><a href="#Web-PathspecificEnabling%2FDisabling">Path-specific
Enabling/Disabling</a></li></ul><li><a href="#Web-SessionManagement">Session
Management</a></li><ul><li><a href="#Web-ServletContainerSessions">Servlet
Container Sessions</a></li><ul><li><a href="#Web-ServletContainerSessionTimeout">Servlet
Container Session Timeout</a></li></ul><li><a href="#Web-NativeSessions">Native
Sessions</a></li><ul><li><a href="#Web-%7B%7BDefaultWebSessionManager%7D%7D">
<tt>DefaultWebSessionManager</tt></a></li><ul><li><a
href="#Web-NativeSessionTimeout">Native Session Timeout</a></li><li><a
href="#Web-SessionCookie">Session Cookie</a></li><ul><li><a
href="#Web-SessionCookieConfiguration">Session Cookie Configurat
 ion</a></li><li><a href="#Web-DisablingtheSessionCookie">Disabling
the Session Cookie</a></li></ul></ul></ul></ul><li><a
href="#Web-RememberMeServices">Remember Me Services</a></li><ul><li><a
href="#Web-ProgrammaticSupport">Programmatic Support</a></li><li><a
href="#Web-FormbasedLogin">Form-based Login</a></li><li><a href="#Web-Cookieconfiguration">Cookie
configuration</a></li><li><a href="#Web-Custom%7B%7BRememberMeManager%7D%7D">Custom
<tt>RememberMeManager</tt></a></li></ul><li><a href="#Web-JSP%2FGSPTagLibrary">JSP
/ GSP Tag Library</a></li><ul><li><a href="#Web-TagLibraryConfiguration">Tag
Library Configuration</a></li><li><a href="#Web-The%7B%7Bguest%7D%7Dtag">The
<tt>guest</tt> tag</a></li><li><a href="#Web-The%7B%7Buser%7D%7Dtag">The
<tt>user</tt> tag</a></li><li><a href="#Web-The%7B%7Bauthenticated%7D%7Dtag">The
<tt>authenticated</tt> tag</a></li><li><a href="#Web-The%7B%7BnotAuthenticated%7D%7Dtag">The
<tt>notAuthenticated</tt> tag</a></li><li><a href="#Web-The%7B%7Bprinci
 pal%7D%7Dtag">The <tt>principal</tt> tag</a></li><ul><li><a
href="#Web-Typedprincipal">Typed principal</a></li><li><a href="#Web-Principalproperty">Principal
property</a></li></ul><li><a href="#Web-The%7B%7BhasRole%7D%7Dtag">The
<tt>hasRole</tt> tag</a></li><li><a href="#Web-The%7B%7BlacksRole%7D%7Dtag">The
<tt>lacksRole</tt> tag</a></li><li><a href="#Web-The%7B%7BhasAnyRole%7D%7Dtag">The
<tt>hasAnyRole</tt> tag</a></li><li><a href="#Web-The%7B%7BhasPermission%7D%7Dtag">The
<tt>hasPermission</tt> tag</a></li><li><a href="#Web-The%7B%7BlacksPermission%7D%7Dtag">The
<tt>lacksPermission</tt> tag</a></li></ul><li><a href="#Web-Lendahandwithdocumentation">Lend
a hand with documentation</a></li></ul></div>
 
@@ -817,4 +847,4 @@ Hello, <span class="code-tag">&lt;%= Sec
 
 <p>While we hope this documentation helps you with the work you're doing with Apache
Shiro, the community is improving and expanding the documentation all the time.  If you'd
like to help the Shiro project, please consider corrected, expanding, or adding documentation
where you see a need. Every little bit of help you provide expands the community and in turn
improves Shiro. </p>
 
-<p>The easiest way to contribute your documentation is to send it to the <a class="external-link"
href="http://shiro-user.582556.n2.nabble.com/" rel="nofollow">User Forum</a> or the
<a href="mailing-lists.html" title="Mailing Lists">User Mailing List</a>.</p>
\ No newline at end of file
+<p>The easiest way to contribute your documentation is to send it to the <a class="external-link"
href="http://shiro-user.582556.n2.nabble.com/" rel="nofollow">User Forum</a> or the
<a href="mailing-lists.html" title="Mailing Lists">User Mailing List</a>.</p>



Mime
View raw message