See more information about the properties file in the *Providing an external HttpClient* section.
68
+
To learn how to provide your own HTTP client, check the [filter's documentation](https://.com/curityio/oauth-filter-for-java#providing-an-external-httpclient).
82
69
83
70
*Note* Unsafe HTTP clients should *NEVER* be used in production.
84
71
85
72
## Configuring the Filter
86
73
87
-
To configure the filter, use the `web.xml` file of your application as shown in the
88
-
`server-example` project.
74
+
To configure the filter, use the `web.xml` file of your application as shown in the `server-example` project.
89
75
90
76
### Init-params for the OAuthJwtFilter
91
77
@@ -104,34 +90,6 @@ To configure the filter, use the `web.xml` file of your application as shown in
104
90
* clientId - your application's client id to use for introspection.
105
91
* clientSecret - your application's client secret.
106
92
107
-
108
-
## Providing an external HttpClient
109
-
110
-
The `OAuthFilter` uses a [HttpClient](https://hc.apache.org/httpcomponents-client-ga/)
111
-
to communicate with the authentication server.
112
-
113
-
The HttpClient may be overridden by the web application by providing a properties
114
-
file in the following locations:
115
-
116
-
*`META-INF/services/OAuthFilter.properties` relative to the classpath
117
-
*`OAuthFilter.properties` relative to the working directory
118
-
119
-
The only accepted property is the name of a supplier class to be used to provide the HttpClient instance:
0 commit comments