You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bu...@apache.org on 2012/12/10 19:34:09 UTC
svn commit: r841481 - in /websites/staging/ode/trunk/content: ./
ws-security-in-ode.html
Author: buildbot
Date: Mon Dec 10 18:34:08 2012
New Revision: 841481
Log:
Staging update by buildbot for ode
Modified:
websites/staging/ode/trunk/content/ (props changed)
websites/staging/ode/trunk/content/ws-security-in-ode.html
Propchange: websites/staging/ode/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec 10 18:34:08 2012
@@ -1 +1 @@
-1419638
+1419640
Modified: websites/staging/ode/trunk/content/ws-security-in-ode.html
==============================================================================
--- websites/staging/ode/trunk/content/ws-security-in-ode.html (original)
+++ websites/staging/ode/trunk/content/ws-security-in-ode.html Mon Dec 10 18:34:08 2012
@@ -191,13 +191,15 @@
<p>To do so:</p>
<ul>
<li>save the Policy document (not the service document) in the file of your choice. For instance mypolicy.xml</li>
-<li>
-<p>create an endpoint file linking the service and the policy file. Basically with the two properties listed below. Note that if the path assigned to the "security.policy.file" property is relative it will be resolved against the process bundle directory. Of course if the path is absolute, it will be used as is.</p>
-<p>:::xml
-alias.sample03-ns=http://sample03.policy.samples.rampart.apache.org
-sample03-ns.sample03-policy.ode.security.policy.file=mypolicy.xml</p>
-</li>
+<li>create an endpoint file linking the service and the policy file. Basically with the two properties listed below. Note that if the path assigned to the "security.policy.file" property is relative it will be resolved against the process bundle directory. Of course if the path is absolute, it will be used as is.</li>
</ul>
+<!-- let markdown notice that the list block is finished -->
+
+<div class="codehilite"><pre>alias.sample03-ns=http://sample03.policy.samples.rampart.apache.org
+sample03-ns.sample03-policy.ode.security.policy.file=mypolicy.xml
+</pre></div>
+
+
<h3 id="how-to-secure-the-web-service-exposed-by-a-process">How to secure the web service exposed by a process?</h3>
<p>Applying security to a process service is no different from invoking a secured service. If the process service you're exposing is {http://mycompany.com}AbscenceRequest. All you have to do is prepare a service document named ${process_bundle_dir}/AbscenceRequest.axis2 and containing your Rampart configuration. Once again, it's up to you to add the required resources in ODE webapp classpath.</p>
<p>You can also use the property 'security.policy.file' to secure the process service.</p>