You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by Dennis Sosnoski <dm...@sosnoski.com> on 2009/04/22 12:32:43 UTC

Using IncludeToken/Once

Does WSS4J cache certificates to support a 
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Once 
token inclusion property? If so, does the cache ever get cleared?

I'm wondering if this can be used to support sending a certificate from 
the client to a server only on the first request, with the certificate 
referenced by a mechanism such as thumbprint for the following requests.

Thanks,

  - Dennis

-- 
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Using IncludeToken/Once

Posted by Daniel Kulp <dk...@apache.org>.
On Thu April 23 2009 6:23:39 am Colm O hEigeartaigh wrote:
> WSS4J has very little WS-SecurityPolicy functionality...this is provided
> by both CXF and Rampart which layer over WSS4J, so you want might to
> redirect your question there.

I can at least provide an answer for CXF.   The "Once" isn't implemented yet.   
It currently checks if it != Never and sends it.    A patch would be great.   
:-)     Would just need to record a flag someplace and check it. 

Dan


>
> Colm.
>
> -----Original Message-----
> From: Dennis Sosnoski [mailto:dms@sosnoski.com]
> Sent: 22 April 2009 11:33
> To: wss4j-dev
> Subject: Using IncludeToken/Once
>
> Does WSS4J cache certificates to support a
> http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/O
> nce
> token inclusion property? If so, does the cache ever get cleared?
>
> I'm wondering if this can be used to support sending a certificate from
> the client to a server only on the first request, with the certificate
> referenced by a mechanism such as thumbprint for the following requests.
>
> Thanks,
>
>   - Dennis

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


RE: Using IncludeToken/Once

Posted by Colm O hEigeartaigh <co...@progress.com>.
WSS4J has very little WS-SecurityPolicy functionality...this is provided
by both CXF and Rampart which layer over WSS4J, so you want might to
redirect your question there.

Colm.

-----Original Message-----
From: Dennis Sosnoski [mailto:dms@sosnoski.com] 
Sent: 22 April 2009 11:33
To: wss4j-dev
Subject: Using IncludeToken/Once

Does WSS4J cache certificates to support a 
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/O
nce 
token inclusion property? If so, does the cache ever get cleared?

I'm wondering if this can be used to support sending a certificate from 
the client to a server only on the first request, with the certificate 
referenced by a mechanism such as thumbprint for the following requests.

Thanks,

  - Dennis

-- 
Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org