Author: buildbot
Date: Tue Jul 16 15:18:38 2013
New Revision: 869699

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/netty-http.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/netty-http.html
==============================================================================
--- websites/production/camel/content/netty-http.html (original)
+++ websites/production/camel/content/netty-http.html Tue Jul 16 15:18:38 2013
@@ -154,7 +154,7 @@ Notice that some options from <a shape="
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[http://0.0.0.0:8080/myapp]]></script>
 </div></div> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>CamelHttpUri</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The URI 
without protocol, host and port, etc: <div class="code panel" 
style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: java; gutter: false" 
type="syntaxhighlighter"><![CDATA[/myapp]]></script>
-</div></div> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>CamelHttpQuery</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Any 
query parameters, such as <tt>foo=bar&amp;beer=yes</tt> </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>CamelHttpPath</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> Additional context-path. This 
value is empty if the client called the context-path <tt>/myapp</tt>. If the 
client calls <tt>/myapp/mystuff</tt>, then this header value is 
<tt>/mystuff</tt>. In other words its the value after the context-path 
configured on the route endpoint. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CamelHttpCharacterEncoding</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" 
rowspan="1" class="confluence
 Td"> The charset from the content-type header. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>Content-Type</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The content type if provided. For example: 
<tt>text/plain; charset="UTF-8"</tt>. </td></tr></tbody></table>
+</div></div> </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>CamelHttpQuery</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> Any 
query parameters, such as <tt>foo=bar&amp;beer=yes</tt> </td></tr><tr><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>CamelHttpPath</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> Additional context-path. This 
value is empty if the client called the context-path <tt>/myapp</tt>. If the 
client calls <tt>/myapp/mystuff</tt>, then this header value is 
<tt>/mystuff</tt>. In other words its the value after the context-path 
configured on the route endpoint. </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>CamelHttpCharacterEncoding</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td colspan="1" 
rowspan="1" class="confluence
 Td"> The charset from the content-type header. </td></tr><tr><td colspan="1" 
rowspan="1" class="confluenceTd"> <tt>CamelHttpAuthentication</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> <tt>String</tt> </td><td 
colspan="1" rowspan="1" class="confluenceTd"> If the user was authenticated 
using HTTP Basic then this header is added with the value <tt>Basic</tt>. 
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>Content-Type</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>String</tt> </td><td colspan="1" rowspan="1" class="confluenceTd"> The 
content type if provided. For example: <tt>text/plain; charset="UTF-8"</tt>. 
</td></tr></tbody></table>
 </div>
 </div>
 
@@ -316,15 +316,15 @@ from("netty-http:http://0.0.0.0:{{port}}
     &lt;!-- a * should be used for any role accepted (or even no roles) --&gt;
     &lt;property name="inclusions"&gt;
       &lt;map&gt;
-        &lt;entry key="/foo/*" value="*"/&gt;
-        &lt;entry key="/foo/admin/*" value="admin"/&gt;
-        &lt;entry key="/foo/guest/*" value="admin,guest"/&gt;
+        &lt;entry key="/*" value="*"/&gt;
+        &lt;entry key="/admin/*" value="admin"/&gt;
+        &lt;entry key="/guest/*" value="admin,guest"/&gt;
       &lt;/map&gt;
     &lt;/property&gt;
     &lt;!-- exclusions is used to define public urls, which requires no 
authentication --&gt;
     &lt;property name="exclusions"&gt;
       &lt;set&gt;
-        &lt;value&gt;/foo/public/*&lt;/value&gt;
+        &lt;value&gt;/public/*&lt;/value&gt;
       &lt;/set&gt;
     &lt;/property&gt;
   &lt;/bean&gt;
@@ -332,7 +332,7 @@ from("netty-http:http://0.0.0.0:{{port}}
 </div></div>
 
 <p>The constraint above is define so that</p>
-<ul class="alternate" type="square"><li>access to /foo/* is restricted and any 
roles is accepted (also if user has no roles)</li><li>access to /foo/admin/* 
requires the admin role</li><li>access to /foo/gues/* requires the admin or 
guest role</li><li>access to /foo/public/* is an exclusion which means no 
authentication is needed, and is therefore public for everyone without logging 
in</li></ul>
+<ul class="alternate" type="square"><li>access to /* is restricted and any 
roles is accepted (also if user has no roles)</li><li>access to /admin/* 
requires the admin role</li><li>access to /guest/* requires the admin or guest 
role</li><li>access to /public/* is an exclusion which means no authentication 
is needed, and is therefore public for everyone without logging in</li></ul>
 
 
 <p>To use this constraint we just need to refer to the bean id as shown 
below:</p>


Reply via email to