Skip to content

Commit

Permalink
initial attempt at adding a bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemers committed Oct 19, 2016
1 parent 5896aac commit ddea166
Show file tree
Hide file tree
Showing 42 changed files with 215 additions and 446 deletions.
38 changes: 4 additions & 34 deletions 10-minute-tutorial.html → 10-minute-tutorial.html.vtl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#parse("templates/macros.vtl")

<h1><a name="10MinuteTutorial-10MinuteTutorialonApacheShiro"></a>10 Minute Tutorial on Apache Shiro</h1>

<div class="addthis_toolbox addthis_default_style">
Expand Down Expand Up @@ -42,23 +44,7 @@ <h2><a name="10MinuteTutorial-Overview"></a>Overview</h2>

<p>Ok. Now let's actually do something!</p>

<div class="panelMacro">
<table class="infoMacro">
<colgroup span="1">
<col span="1" width="24">
<col span="1">
</colgroup>
<tr>
<td colspan="1" rowspan="1" valign="top"><img align="middle"
src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.png"
width="16" height="16" alt="" border="0"></td>
<td colspan="1" rowspan="1">Shiro can be run in any environment, from the simplest command line application
to the biggest enterprise web and clustered applications, but we'll use the simplest possible example in
a simple <tt>main</tt> method for this QuickStart so you can get a feel for the API.
</td>
</tr>
</table>
</div>
#info('Note', 'Shiro can be run in any environment, from the simplest command line application to the biggest enterprise web and clustered applications, but we''ll use the simplest possible example in a simple <tt>main</tt> method for this QuickStart so you can get a feel for the API.')

<h2><a name="10MinuteTutorial-Download"></a>Download</h2>

Expand Down Expand Up @@ -214,23 +200,7 @@ <h2><a name="10MinuteTutorial-Quickstart.java"></a>Quickstart.java</h2>
href="static/current/apidocs/org/apache/shiro/authc/AuthenticationException.html">AuthenticationException
JavaDoc</a> for more. </p>

<div class="panelMacro">
<table class="tipMacro">
<colgroup span="1">
<col span="1" width="24">
<col span="1">
</colgroup>
<tr>
<td colspan="1" rowspan="1" valign="top"><img align="middle"
src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.png"
width="16" height="16" alt="" border="0"></td>
<td colspan="1" rowspan="1"><b>Handy Hint</b><br clear="none">Security best practice is to give generic
login failure messages to users because you do not want to aid an attacker trying to break into your
system.
</td>
</tr>
</table>
</div>
#tip('Handy Hint', 'Security best practice is to give generic login failure messages to users because you do not want to aid an attacker trying to break into your system.')

<p>Ok, so by now, we have a logged in user. What else can we do?</p>

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion architecture.html → architecture.html.vtl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h2><a name="Architecture-Design"></a>Design</h2>

<p>The <tt>SecurityManager</tt> implementations and are also JavaBeans compatible, which allows you (or a configuration mechanism) to easily customize the pluggable components via standard JavaBeans accessor/mutator methods (get*/set*). This means the Shiro's architectural modularity can translate into very easy configuration for custom behavior.</p>

<div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Easy Configuration</b><br clear="none">Because of JavaBeans compatibility, it is very easy to configure the <tt>SecurityManager</tt> with custom components via any mechanism that supports JavaBeans-style configuration, such as <a href="spring.html" title="Spring">Spring</a>, Guice, JBoss, etc.</td></tr></table></div>
#tip('Easy Configuration', 'Because of JavaBeans compatibility, it is very easy to configure the <tt>SecurityManager</tt> with custom components via any mechanism that supports JavaBeans-style configuration, such as <a href="spring.html" title="Spring">Spring</a>, Guice, JBoss, etc.')

<p>We will cover <a href="configuration.html" title="Configuration">Configuration</a> next.</p>

Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions assets/css/gh-pages/gh-fork-ribbon.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
top: 3.23em;
right: -3.23em;

-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;

-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
Expand Down
9 changes: 0 additions & 9 deletions authentication-guide.html

This file was deleted.

11 changes: 11 additions & 0 deletions authentication-guide.html.vtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<p>This page has been moved. You are being redirected.</p>

<p></p>

#warning('Redirection Notice', 'This page should redirect to <a href="java-authentication-guide.html" title="Java Authentication Guide">Java Authentication Guide</a>.')

<script type="text/javascript">
<!--
window.location = "java-authentication-guide.html"
//-->
</script>
Loading

0 comments on commit ddea166

Please sign in to comment.