Package org.codice.ddf.cxf.oauth
Class OAuthOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
org.codice.ddf.cxf.oauth.OAuthOutInterceptor
- 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 OAuthOutInterceptor
extends org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.message.Message>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleMessage(org.apache.cxf.message.Message message) Gets the access token from the OAUTH header and sets it to the Authorization header.Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
OAuthOutInterceptor
-
-
Method Details
-
handleMessage
public void handleMessage(org.apache.cxf.message.Message message) Gets the access token from the OAUTH header and sets it to the Authorization header.
-