openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1004516 - in /websites/staging/openwebbeans/trunk/content: ./ meecrowave/ meecrowave/meecrowave-core/ meecrowave/meecrowave-gradle/ meecrowave/meecrowave-jolokia/ meecrowave/meecrowave-jpa/ meecrowave/meecrowave-jta/ meecrowave/meecrowave-...
Date Mon, 09 Jan 2017 14:06:18 GMT
Author: buildbot
Date: Mon Jan  9 14:06:18 2017
New Revision: 1004516

Log:
Staging update by buildbot for openwebbeans

Added:
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.html
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf   (with
props)
Modified:
    websites/staging/openwebbeans/trunk/content/   (props changed)
    websites/staging/openwebbeans/trunk/content/meecrowave/community.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/components.html
    websites/staging/openwebbeans/trunk/content/meecrowave/components.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/download.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-gradle/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jolokia/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jpa/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jta/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/start.html
    websites/staging/openwebbeans/trunk/content/meecrowave/start.pdf
    websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html
    websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf

Propchange: websites/staging/openwebbeans/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jan  9 14:06:18 2017
@@ -1 +1 @@
-1777679
+1777965

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/community.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/components.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/components.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/components.html Mon Jan  9 14:06:18
2017
@@ -150,6 +150,18 @@ CDI extension.</p>
 </div>
 </div>
 <div class="sect1">
+<h2 id="_meecrowave_and_oauth2">Meecrowave and OAuth2</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>This is an experimental module integrating CXF OAuth2 server in Meecrowave
+through an embeddable dependency or a directly executable har.</p>
+</div>
+<div class="paragraph">
+<p><a href="/meecrowave/meecrowave-oauth2/index.html">OAuth2 module</a></p>
+</div>
+</div>
+</div>
+<div class="sect1">
 <h2 id="_going_further">Going further</h2>
 <div class="sectionbody">
 <div class="paragraph">

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/components.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/download.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/cli.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-core/configuration.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-gradle/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jolokia/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jpa/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-jta/index.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-maven/index.pdf
==============================================================================
Binary files - no diff available.

Added: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.html (added)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.html Mon
Jan  9 14:06:18 2017
@@ -0,0 +1,206 @@
+<!DOCTYPE html>
+<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
+<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
+<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
+<head>
+    <title>Meecrowave :: the customizable server</title>
+    <!-- Meta -->
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <meta name="description" content="">
+    <meta name="author" content="">
+    <link rel="shortcut icon" href="/meecrowave/favicon.ico">
+    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
rel='stylesheet' type='text/css'>
+    <!-- Global CSS -->
+    <link rel="stylesheet" href="/meecrowave/assets/plugins/bootstrap/css/bootstrap.min.css">
+    <!-- Plugins CSS -->
+    <link rel="stylesheet" href="/meecrowave/assets/plugins/font-awesome/css/font-awesome.min.css">
+    <link rel="stylesheet" href="/meecrowave/assets/plugins/elegant_font/css/style.css?version=1">
+    <!-- highlighting -->
+    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/idea.min.css">
+
+    <!-- Theme CSS -->
+    <link id="theme-style" rel="stylesheet" href="/meecrowave/assets/css/styles.css">
+    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+    <!--[if lt IE 9]>
+      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+    <![endif]-->
+</head>
+
+<body class="body-green">
+    <div class="page-wrapper">
+    <!-- TODO: google analytics -->
+<header class="header text-center">
+  <div class="container">
+      <div class="branding">
+          <h1 class="doc-title">
+              <span aria-hidden="true" class="icon icon_puzzle_alt icon"></span>
+              <a href="/meecrowave/index.html">
+                Meecrowave
+              </a>
+          </h1>
+      </div>
+  </div><!--//container-->
+</header><!--//header-->
+<div class="doc-wrapper">
+    <div class="container">
+        <div id="doc-header" class="doc-header text-center">
+            <h1 class="doc-title"><span aria-hidden="true" class="icon icon_lifesaver"></span>
Meecrowave OAuth2</h1>
+        </div><!--//doc-header-->
+
+<div class="doc-body">
+    <div class="doc-content">
+        <div class="content-inner">
+
+
+
+
+<div class='btn-toolbar pull-right' style="z-index: 2000;">
+  <div class='btn-group'>
+      <a class="btn" href="/meecrowave/meecrowave-oauth2/index.pdf"><i class="fa
fa-file-pdf-o"></i> Download as PDF</a>
+  </div>
+</div>
+
+
+
+            <section class="doc-section">
+                <div class="paragraph">
+<p>Starting with version 0.3.0.</p>
+</div>
+<div class="paragraph">
+<p>Coordinates:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-xml" data-lang="xml">&lt;dependency&gt;
+  &lt;groupId&gt;org.apache.meecrowave&lt;/groupId&gt;
+  &lt;artifactId&gt;meecrowave-oauth2&lt;/artifactId&gt;
+  &lt;version&gt;${meecrowave.version}&lt;/version&gt;
+&lt;/dependency&gt;</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>A small OAuth2 server based on CXF implementation.</p>
+</div>
+<div class="paragraph">
+<p>See <a href="http://cxf.apache.org/docs/jax-rs-oauth2.html" class="bare">http://cxf.apache.org/docs/jax-rs-oauth2.html</a>
for more details.</p>
+</div>
+<div class="paragraph">
+<p>Here is the current configuration (mainly based on CXF one):</p>
+</div>
+<div class="paragraph">
+<p>Unresolved directive in &lt;stdin&gt; - include::../../../../../target/generated-doc/OAuth2.adoc[]</p>
+</div>
+<div class="paragraph">
+<p>These options are available through the CLI or through properties as usually with
Meecrowave configuration.</p>
+</div>
+<div class="paragraph">
+<p>Note that meecrowave also provides a bundle which is an executable jar to run an
OAuth2 server.</p>
+</div>
+<div class="paragraph">
+<p>Here is a sample usage of that bundle:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-bash" data-lang="bash">java
-jar meecrowave-oauth2-0.3.0-SNAPSHOT-bundle.jar --users test=test --roles test=test</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Then just test your token endpoint:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-bash" data-lang="bash">curl
-XPOST http://localhost:8080/oauth2/token -d username=test -d password=test -d grant_type=password</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>And you should get something like:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlightjs highlight"><code class="language-javascript" data-lang="javascript">{
+  "access_token":"5e2f211d4b4ccaa36a11d0876597f01e",
+  "token_type":"Bearer",
+  "expires_in":3600,
+  "scope":"refreshToken",
+  "refresh_token":"7ae5dc2e25925e5514b7e2e632cfa6a"
+}</code></pre>
+</div>
+</div>
+<div class="admonitionblock important">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-important" title="Important"></i>
+</td>
+<td class="content">
+these example use inline users but you should configure a realm for a real usage.
+</td>
+</tr>
+</table>
+</div>
+<div class="admonitionblock note">
+<table>
+<tr>
+<td class="icon">
+<i class="fa icon-note" title="Note"></i>
+</td>
+<td class="content">
+this module is interesting if you plan to base your application development
+on Meecrowave because it shows how to use CLI configuration and wire it in your application
+but also how to use a 3rd party library (CXF there) and build a fatjar.
+</td>
+</tr>
+</table>
+</div>
+            </section><!--//doc-section-->
+
+
+
+
+        </div><!--//content-inner-->
+    </div><!--//doc-content-->
+
+    <div class="doc-sidebar">
+        <nav id="doc-nav">
+            <ul id="doc-menu" class="nav doc-menu hidden-xs affix-top" data-spy="affix">
+                <li><a href="/meecrowave/index.html">Home</a></li>
+                <li><a href="/meecrowave/start.html">Quick Start</a></li>
+                <li><a href="/meecrowave/components.html">Components</a></li>
+                <li><a href="/meecrowave/download.html">Download</a></li>
+                <li><a href="/meecrowave/community.html">Community</a></li>
+            </ul><!--//doc-menu-->
+        </nav>
+    </div>
+</div>
+
+</div><!--//page-wrapper-->
+
+    <footer class="footer text-center">
+        <div class="container">
+          <div class="row">
+            <p >Copyright &copy; 2016
+                <a href="http://www.apache.org/">The Apache Software Foundation</a>.
All rights reserved.
+            </p>
+          </div>
+        </div>
+
+        <div class="container"><!-- don't remove it otherwise theme is no more creative
common -->
+            <small class="copyright">Designed with <i class="fa fa-heart"></i>
by <a href="http://themes.3rdwavemedia.com/" target="_blank">Xiaoying Riley</a>
for developers</small>
+        </div><!--//container-->
+    </footer><!--//footer-->
+
+
+    <!-- Main Javascript -->
+    <script type="text/javascript" src="/meecrowave/assets/plugins/jquery-1.12.3.min.js"></script>
+    <script type="text/javascript" src="/meecrowave/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
+    <script type="text/javascript" src="/meecrowave/assets/plugins/jquery-match-height/jquery.matchHeight-min.js"></script>
+    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script>
+    <script type="text/javascript" src="/meecrowave/assets/js/main.js?version=1"></script>
+
+</body>
+</html>
+
+

Added: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/openwebbeans/trunk/content/meecrowave/meecrowave-oauth2/index.pdf
------------------------------------------------------------------------------
    svn:mime-type = application/pdf

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/start.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/start.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/start.html Mon Jan  9 14:06:18
2017
@@ -124,7 +124,7 @@ public class HelloKitchen {
 <i class="fa icon-important" title="Important"></i>
 </td>
 <td class="content">
-this feature will be part of 0.3.0 only.
+this feature is supported starting from version 0.3.0 only.
 </td>
 </tr>
 </table>

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/start.pdf
==============================================================================
Binary files - no diff available.

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html
==============================================================================
--- websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html (original)
+++ websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.html Mon Jan  9 14:06:18
2017
@@ -260,7 +260,7 @@ public class MeecrowaveConfigTest {
       &lt;property name="ssl"&gt;false&lt;/property&gt;
       &lt;property name="sslProtocol"&gt;&lt;/property&gt;
       &lt;property name="stopPort"&gt;-1&lt;/property&gt;
-      &lt;property name="tempDir"&gt;/tmp/meecrowave_285320516734038&lt;/property&gt;
+      &lt;property name="tempDir"&gt;/tmp/meecrowave_20782735425048&lt;/property&gt;
       &lt;property name="tomcatAutoSetup"&gt;true&lt;/property&gt;
       &lt;property name="tomcatFilter"&gt;&lt;/property&gt;
       &lt;property name="tomcatNoJmx"&gt;true&lt;/property&gt;

Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf
==============================================================================
Binary files - no diff available.



Mime
View raw message