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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Starting with version 0.3.0.
+
+
+
+
+
<dependency>
+ <groupId>org.apache.meecrowave</groupId>
+ <artifactId>meecrowave-oauth2</artifactId>
+ <version>${meecrowave.version}</version>
+</dependency>
+
+
+
+
A small OAuth2 server based on CXF implementation.
+
+
+
+
Here is the current configuration (mainly based on CXF one):
+
+
+
Unresolved directive in <stdin> - include::../../../../../target/generated-doc/OAuth2.adoc[]
+
+
+
These options are available through the CLI or through properties as usually with Meecrowave configuration.
+
+
+
Note that meecrowave also provides a bundle which is an executable jar to run an OAuth2 server.
+
+
+
Here is a sample usage of that bundle:
+
+
+
+
java -jar meecrowave-oauth2-0.3.0-SNAPSHOT-bundle.jar --users test=test --roles test=test
+
+
+
+
Then just test your token endpoint:
+
+
+
+
curl -XPOST http://localhost:8080/oauth2/token -d username=test -d password=test -d grant_type=password
+
+
+
+
And you should get something like:
+
+
+
+
{
+ "access_token":"5e2f211d4b4ccaa36a11d0876597f01e",
+ "token_type":"Bearer",
+ "expires_in":3600,
+ "scope":"refreshToken",
+ "refresh_token":"7ae5dc2e25925e5514b7e2e632cfa6a"
+}
+
+
+
+
+
+
+
+ |
+
+these example use inline users but you should configure a realm for a real usage.
+ |
+
+
+
+
+
+
+
+
+ |
+
+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.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 {
-this feature will be part of 0.3.0 only.
+this feature is supported starting from version 0.3.0 only.
|
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 {
<property name="ssl">false</property>
<property name="sslProtocol"></property>
<property name="stopPort">-1</property>
- <property name="tempDir">/tmp/meecrowave_285320516734038</property>
+ <property name="tempDir">/tmp/meecrowave_20782735425048</property>
<property name="tomcatAutoSetup">true</property>
<property name="tomcatFilter"></property>
<property name="tomcatNoJmx">true</property>
Modified: websites/staging/openwebbeans/trunk/content/meecrowave/testing/index.pdf
==============================================================================
Binary files - no diff available.