- All Implemented Interfaces:
- org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>, org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
public class STSRESTOutInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
An outbound REST interceptor which uses the STSClient to obtain a token from a STS.
It then stores the DOM Element on the message context so that the REST Saml interceptors
can retrieve it and send it in a form, header, etc.
It caches a token and attempts to "renew" it if it has expired.