This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 631f14e  Updating OAuth README
631f14e is described below

commit 631f14e31a4f551af5a588405db05e62b7ecef75
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Fri May 4 11:06:42 2018 +0100

    Updating OAuth README
---
 .../src/main/release/samples/oauth/README.txt      | 78 ++++++++++------------
 1 file changed, 34 insertions(+), 44 deletions(-)

diff --git a/distribution/src/main/release/samples/oauth/README.txt 
b/distribution/src/main/release/samples/oauth/README.txt
index f602a4a..66ad999 100644
--- a/distribution/src/main/release/samples/oauth/README.txt
+++ b/distribution/src/main/release/samples/oauth/README.txt
@@ -1,63 +1,53 @@
 OAuth 1.0a demo (client and server)
 ========================================
-The OAuth 1.0a demo that shows protocol's flow between OAuth parties. Demo 
contains two parts:
+OAuth 1.0a demo that shows the protocol's flow between OAuth parties. The demo
+contains two parts:
 
-    client:
-            A web application capable of making OAuth-authenticated requests. 
It is a usual OAuth client,
-            not dependent on Apache CXF framework, built to test this demo 
server part and for OAuth
-            educational purposes. Implementation works with any OAuth 1.0a 
providers, not only included
-            in this demo.
+ * client: A web application capable of making OAuth-authenticated requests.
+   It is a usual OAuth client, not dependent on Apache CXF framework, built to
+   test this demo server part and for OAuth educational purposes.
+   The implementation works with any OAuth 1.0a providers, not only that
+   included in this demo.
 
-
-    server:
-            A web application capable of accepting OAuth-authenticated 
requests. It is based on Apache
-            CXF OAuth module. It exposes OAuth endpoints and protected 
resources in the form of JAX-RS
-            services. Server demo shows and explains how CXF OAuth module can 
be configured to secure
-            JAX-RS services and integrated with existing web applications.
+ * server: A web application capable of accepting OAuth-authenticated requests.
+   It is based on the Apache CXF OAuth module. It exposes OAuth endpoints and
+   protected resources in the form of JAX-RS services. The Server demo shows
+   and explains how the CXF OAuth module can be configured to secure JAX-RS
+   services and integrated with existing web applications.
 
 Building and running the demo using maven
 ---------------------------------------
        
-    client:
-            Main directory of client demo application is located in folder: 
"client", in base folder
-            of this sample.
-            To start demo app use maven command:
-
-            mvn jetty:run
+ * client: Main directory of client demo application is located in folder:
+   "client", in the base folder of this sample. To start the demo app use the
+   maven command:
 
-            It will cause in starting Jetty web server and deploying client 
application at host on port: 8080.
-            Port number is defined in pom.xml.
+       mvn jetty:run
 
-    server:
-            Main directory of server demo application is located in folder: 
"server", in base folder
-            of this sample.
-            To start demo app use maven command:
+   It will start the Jetty web server and deploy the client application at the
+   local host on port 8080. This port number is defined in the pom.xml.
 
-            mvn jetty:run
+ * server: Main directory of server demo application is located in folder: 
+   "server", in the base folder of this sample. To start the demo app use the
+   maven command:
 
-            It will cause in starting Jetty web server and deploying client 
application at host on port: 8081.
-            Port number is defined in pom.xml.
+       mvn jetty:run
 
-                       
-       Both client and server modules depend on Spring 3, so you need to use 
CXF spring3 profile.
-       You can build both client and server modules using command: 
-                       
-                       mvn clean install
-                       
-       and deploy war from 'target' folder in selected web container.
+   It will start the Jetty web server and deploy the client application at the
+   local host on port 8081. This port number is defined in the pom.xml.
 
 Performing steps in the OAuth flow 
 -----------------------------
-When you have successfully deployed client and server you can start with OAuth 
steps:
-1. Go to OAuth server (http://localhost:8081) and login with given username 
and password
-2. Provide details and register new application at the OAuth server.
-3. You have registered client application at the OAuth server, with associated 
and displayed
-  client identifier, client shared-secret and callback url. You will need 
those on the client side.
-4. Go to OAuth client demo (http://localhost:8080) and provide information 
about the registered application.
-5. Perform usual OAuth 1.0 flow steps
+When you have successfully deployed the client and server, follow these steps:
 
+ 1. Go to the OAuth server (http://localhost:8081) and login with the given
+    username and password
+ 2. Provide details and register new application at the OAuth server.
+ 3. You have registered the client application at the OAuth server, with
+    associated and displayed client identifier, client shared-secret and
+    callback url. You will need those on the client side.
+ 4. Go to OAuth client demo (http://localhost:8080) and provide information
+    about the registered application.
+ 5. Perform usual OAuth 1.0 flow steps
 
 
-Running OAuth 1.0a demo at Google App Engine
------------------------------
-//todo add challenges in deploying demo to GAE

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to