fixed RHSSO-882

This commit is contained in:
Jen Malloy 2017-03-24 12:47:12 -04:00
parent 3cf29204ad
commit 64b1e9c678
2 changed files with 4 additions and 4 deletions

View file

@ -5,12 +5,12 @@
{{book.project.name}} has some error handling facilities for servlet based client adapters.
When an error is encountered in authentication, {{book.project.name}} will call `HttpServletResponse.sendError()`.
You can set up an error-page within your `web.xml` file to handle the error however you want.
{{book.project.name}} may throw 400, 401, 403, and 500 errors.
{{book.project.name}} can throw 400, 401, 403, and 500 errors.
[source,xml]
----
<error-page>
<error-code>404</error-code>
<error-code>403</error-code>
<location>/ErrorHandler</location>
</error-page>
----

View file

@ -4,13 +4,13 @@
{{book.project.name}} has some error handling facilities for servlet based client adapters.
When an error is encountered in authentication, the client adapter will call `HttpServletResponse.sendError()`.
You can set up an `error-page` within your `web.xml` file to handle the error however you want.
The client adapter may throw 400, 401, 403, and 500 errors.
The client adapter can throw 400, 401, 403, and 500 errors.
[source,xml]
----
<error-page>
<error-code>404</error-code>
<error-code>403</error-code>
<location>/ErrorHandler</location>
</error-page>
----