@@ -9,7 +9,7 @@ prev=security-intro003.html
99[[using-pluggable-providers]]
1010Using Pluggable Providers
1111-------------------------
12- Java EE provides two specifications that define SPI interfaces for
12+ Java EE includes two specifications that define SPI interfaces for
1313pluggable security providers, JSR-196 and JSR-375. These specifications are
1414described in more detail in the following sections:
1515
@@ -26,9 +26,9 @@ which the sender of a message "secures" it, and the receiver "validates" it.
2626The details of how messages are secured and validated are undefined by the model;
2727support for securing and validating particular types of messages is provided by
2828"auth modules" -- implementations of the JASPIC `ClientAuthModule` and
29- `ServerAuthModule` interfaces that support particular protocols or message types,
29+ `ServerAuthModule` interfaces -- that support particular protocols or message types,
3030and that plug in to the JASPIC framework. (Note that it is not necessary for a
31- client and server to both use JASPIC as long as both sides process messages
31+ client and server to both use JASPIC, as long as both sides process messages
3232correctly for a given protocol.)
3333
3434JASPIC defines two "profiles" for integrating JASPIC auth modules into Java EE
@@ -41,16 +41,16 @@ In the case of the Servlet Container Profile, if a `ServerAuthModule` is configu
4141for a given application context, then the modules's `validateRequest()` method must be
4242invoked (and succeed) before authorizing access and calling the target servlet,
4343and the module's `secureResponse()` method must be called before returning a response.
44- Typically, the `ServerAuthModule` under the Servlet Container Profile looks for
45- user credentials or tokens and uses them to authenticate the caller and establish
44+ Typically, a `ServerAuthModule` written for the Servlet Container Profile looks for
45+ user credentials or tokens in an incoming request, and then uses them to authenticate the caller and establish
4646the caller's identity. A `ServerAuthModule` may also engage in a challenge/response
4747protocol with the client, or negotiate with a third party to establish/verify the
4848client's identity.
4949
5050As with the Servlet Container Profile, the SOAP Profile requires that
5151`validateRequest()` be called and succeed before proceeding to authorize access and
5252perform any further processing of an incoming message, and that `secureResponse()`
53- is called for the response (if any) before it is sent. In contrast to the Servlet
53+ is called for the response before it is sent. In contrast to the Servlet
5454Container Profile, `validateRequest()` processing for SOAP messages typically involves
5555verifying signatures on signed elements, decrypting encrypted elements, and/or
5656establishing the identity of a SOAP actor based on a token included in the message,
0 commit comments