Skip to content

Commit b96a52a

Browse files
committed
updated the documentation
1 parent 421602d commit b96a52a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
0 Bytes
Binary file not shown.
Binary file not shown.

latest/developer-guide/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,9 @@
562562
apiman-gateway.policy-factory.foo1=value-1
563563
apiman-gateway.policy-factory.foo2=value-2</pre><p><span class="strong"><strong>Note</strong></span>: there is rarely a reason to provide a custom policy factory.</p></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h5 class="title"><a id="_io_apiman_gateway_engine_ipolicyfailurewriter_example_configuration"/>4.5.3.2.5. io.apiman.gateway.engine.IPolicyFailureWriter Example Configuration</h5></div></div></div><pre class="screen">apiman-gateway.writers.policy-failure=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.FooPolicyFailureWriterImpl
564564
apiman-gateway.writers.policy-failure.foo1=value-1
565-
apiman-gateway.writers.policy-failure.foo2=value-2</pre></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h5 class="title"><a id="_io_apiman_gateway_engine_ipolicyerrorwriter_example_configuration"/>4.5.3.2.6. io.apiman.gateway.engine.IPolicyErrorWriter Example Configuration</h5></div></div></div><pre class="screen">apiman-gateway.writers.policy-error=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.FooPolicyErrorWriterImpl
566-
apiman-gateway.writers.policy-error.foo1=value-1
567-
apiman-gateway.writers.policy-error.foo2=value-2</pre></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h5 class="title"><a id="_io_apiman_gateway_engine_components_ibufferfactorycomponent_example_configuration"/>4.5.3.2.7. io.apiman.gateway.engine.components.IBufferFactoryComponent Example Configuration</h5></div></div></div><pre class="screen">apiman-gateway.components.IBufferFactoryComponent=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.FooBufferFactoryComponentImpl
565+
apiman-gateway.writers.policy-failure.foo2=value-2</pre></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h5 class="title"><a id="_io_apiman_gateway_engine_ipolicyerrorwriter_example_configuration"/>4.5.3.2.6. io.apiman.gateway.engine.IPolicyErrorWriter Example Configuration</h5></div></div></div><pre class="screen">apiman-gateway.writers.error=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.FooPolicyErrorWriterImpl
566+
apiman-gateway.writers.error.foo1=value-1
567+
apiman-gateway.writers.error.foo2=value-2</pre></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h5 class="title"><a id="_io_apiman_gateway_engine_components_ibufferfactorycomponent_example_configuration"/>4.5.3.2.7. io.apiman.gateway.engine.components.IBufferFactoryComponent Example Configuration</h5></div></div></div><pre class="screen">apiman-gateway.components.IBufferFactoryComponent=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.FooBufferFactoryComponentImpl
568568
apiman-gateway.components.IBufferFactoryComponent.foo1=value-1
569569
apiman-gateway.components.IBufferFactoryComponent.foo2=value-2</pre><p><span class="strong"><strong>Note</strong></span>: typically the buffer factory is specific to the platform. For example, there is a buffer factory
570570
used when the API Gateway is running in EAP or WildFly. There is a different buffer factory used when the
@@ -678,9 +678,9 @@
678678
the above interface(s) inside a valid apiman plugin.</p><div xmlns:d="http://docbook.org/ns/docbook" xmlns:rf="java:org.jboss.highlight.XhtmlRendererFactory" class="tip"><h2>Tip</h2><p>See the "Creating a Plugin" section of this guide for more information.</p></div><p>Once the plugin is created with your class inside, configure either the failure writer, the error
679679
writer, or both in <span class="emphasis"><em>apiman.properties</em></span> like this:</p><pre class="screen">apiman-gateway.writers.policy-failure=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.PolicyFailureWriterImpl
680680
apiman-gateway.writers.policy-failure.property1=value-1
681-
apiman-gateway.writers.policy-failure.property2=value-2</pre><pre class="screen">apiman-gateway.writers.policy-error=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.PolicyErrorWriterImpl
682-
apiman-gateway.writers.policy-error.property1=value-1
683-
apiman-gateway.writers.policy-error.property2=value-2</pre><p>Remember, if your implementation class has a constructor that accepts a Map&lt;String, String&gt;, then apiman
681+
apiman-gateway.writers.policy-failure.property2=value-2</pre><pre class="screen">apiman-gateway.writers.error=plugin:com.example.groupId:artifactId:1.0.Final/com.example.apiman.PolicyErrorWriterImpl
682+
apiman-gateway.writers.error.property1=value-1
683+
apiman-gateway.writers.error.property2=value-2</pre><p>Remember, if your implementation class has a constructor that accepts a Map&lt;String, String&gt;, then apiman
684684
will pass the set of applicable configuration properties it finds in apiman.properties when the class is
685685
instantiated. In the example above, your DataEncrypterImpl class will be instantiated, with a Map
686686
passed to its constructor containing the following:</p><div class="itemizedlist"><ul><li>property1=value-1</li><li>property2=value-2</li></ul></div></div><div class="section" lang="en-US"><div class="titlepage"><div><div><h3 class="title"><a id="_providing_a_custom_user_bootstrapper"/>4.5.7. Providing a Custom User Bootstrapper</h3></div></div></div><p>Whenever a new user is added to apiman, a record is added for her in the API Manager data store. No
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)