You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by St...@faa.gov on 2015/06/10 16:24:44 UTC

fetchAllActionResults is missing

org.apache.wss4j.dom.util.WSSecurityUtil used to have a method called fetchAllActionResults, but it looks like it was dropped in 2.1. Was it moved somewhere else? I didn't see anything in the migration guide or in the jira about it. I can always recreate it locally but that'd be a little inconvenient.

Thanx,

Stephen W. Chappell

RE: fetchAllActionResults is missing

Posted by St...@faa.gov.
Awesome, thanx!

Stephen W. Chappell

From: Colm O hEigeartaigh [mailto:coheigea@apache.org]
Sent: Thursday, June 11, 2015 9:03 AM
To: users@ws.apache.org
Subject: Re: fetchAllActionResults is missing

Hi Stephen,
The method was removed, as there is now a more convenient way of getting access to results, that doesn't require looping through the complete set of security results.
The WSSecurityEngine now returns a WSHandlerResult class, which contains all of the security results. Now if you want to get all encryption results say, you just do:

results.getActionResults().get(WSConstants.ENCR);
This results List<WSSecurityEngineResult> (may be null).
Colm.

On Wed, Jun 10, 2015 at 3:24 PM, <St...@faa.gov>> wrote:
org.apache.wss4j.dom.util.WSSecurityUtil used to have a method called fetchAllActionResults, but it looks like it was dropped in 2.1. Was it moved somewhere else? I didn’t see anything in the migration guide or in the jira about it. I can always recreate it locally but that’d be a little inconvenient.

Thanx,

Stephen W. Chappell



--
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Re: fetchAllActionResults is missing

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi Stephen,

The method was removed, as there is now a more convenient way of getting
access to results, that doesn't require looping through the complete set of
security results.

The WSSecurityEngine now returns a WSHandlerResult class, which contains
all of the security results. Now if you want to get all encryption results
say, you just do:

results.getActionResults().get(WSConstants.ENCR);

This results List<WSSecurityEngineResult> (may be null).

Colm.

On Wed, Jun 10, 2015 at 3:24 PM, <St...@faa.gov> wrote:

>  org.apache.wss4j.dom.util.WSSecurityUtil used to have a method called
> fetchAllActionResults, but it looks like it was dropped in 2.1. Was it
> moved somewhere else? I didn’t see anything in the migration guide or in
> the jira about it. I can always recreate it locally but that’d be a little
> inconvenient.
>
>
>
> Thanx,
>
>
>
> *Stephen W. Chappell*
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com