Class STSTokenOutInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.ws.security.policy.interceptors.STSTokenOutInterceptor
-
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
public class STSTokenOutInterceptor extends AbstractPhaseInterceptor<Message>
-
-
Constructor Summary
Constructors Constructor Description STSTokenOutInterceptor(String phase, STSAuthParams authParams, String stsWsdlLocation, Bus bus)STSTokenOutInterceptor(String phase, STSClient stsClient, STSTokenRetriever.TokenRequestParams tokenParams)STSTokenOutInterceptor(STSAuthParams authParams, String stsWsdlLocation, Bus bus)STSTokenOutInterceptor(STSClient stsClient)STSTokenOutInterceptor(STSClient stsClient, STSTokenRetriever.TokenRequestParams tokenParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description STSClientgetSTSClient()STSTokenCachergetTokenCacher()voidhandleMessage(Message message)Intercepts a message.protected voidprocessToken(Message message, SecurityToken tok)voidsetTokenCacher(STSTokenCacher tokenCacher)-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Constructor Detail
-
STSTokenOutInterceptor
public STSTokenOutInterceptor(STSAuthParams authParams, String stsWsdlLocation, Bus bus)
-
STSTokenOutInterceptor
public STSTokenOutInterceptor(String phase, STSAuthParams authParams, String stsWsdlLocation, Bus bus)
-
STSTokenOutInterceptor
public STSTokenOutInterceptor(STSClient stsClient)
-
STSTokenOutInterceptor
public STSTokenOutInterceptor(STSClient stsClient, STSTokenRetriever.TokenRequestParams tokenParams)
-
STSTokenOutInterceptor
public STSTokenOutInterceptor(String phase, STSClient stsClient, STSTokenRetriever.TokenRequestParams tokenParams)
-
-
Method Detail
-
handleMessage
public void handleMessage(Message message) throws Fault
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.- Throws:
Fault
-
processToken
protected void processToken(Message message, SecurityToken tok)
-
getSTSClient
public STSClient getSTSClient()
-
getTokenCacher
public STSTokenCacher getTokenCacher()
-
setTokenCacher
public void setTokenCacher(STSTokenCacher tokenCacher)
-
-