[Submitted under http://issues.apache.org/jira/browse/WSS-57]

Currently, the WSSecurityEngineResult type yeilds the following
information, when returned after processing security headers in a message:

 * the action performed (signature or encryption)
 * a representation of the received identity, encapsulated in a
java.security.Principal
 * the recieved certificate, in the case of singing
 * the operative SAML assertion (if applicable)
 * any timestamp information (if applicable)
 * a set of wsu:ids, representing the signed elements
 * the signature
 * the signature confirmation

It would be useful to also get a reference to the elements that were
signed or encrypted, as well.

I would propose that instead of defining a *Results object, we instead
generalize the type to something like a Map, which has the advantage
that we can add information through the returned structure without
having to modify an otherwise potentially brittle type.  All we then
need to do is provide constants for the tags we use to select these
values from the map, and document, accordingly.

-Fred

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to