Package org.apache.cxf.ws.security.wss4j
Class StaxSecurityContextInInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
-
- org.apache.cxf.ws.security.wss4j.StaxSecurityContextInInterceptor
-
- All Implemented Interfaces:
Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
public class StaxSecurityContextInInterceptor extends AbstractPhaseInterceptor<SoapMessage>
This interceptor handles parsing the StaX WS-Security results (events) + sets up the security context appropriately.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSAML_ROLE_ATTRIBUTENAME_DEFAULTThis configuration tag specifies the default attribute name where the roles are present The default is "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role".
-
Constructor Summary
Constructors Constructor Description StaxSecurityContextInInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleMessage(SoapMessage soapMessage)Intercepts a message.-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Field Detail
-
SAML_ROLE_ATTRIBUTENAME_DEFAULT
public static final String SAML_ROLE_ATTRIBUTENAME_DEFAULT
This configuration tag specifies the default attribute name where the roles are present The default is "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role".- See Also:
- Constant Field Values
-
-
Method Detail
-
handleMessage
public void handleMessage(SoapMessage soapMessage) 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
-
-