Package org.apache.cxf.rs.security.saml
Class AbstractSamlOutInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
-
- org.apache.cxf.rs.security.saml.AbstractSamlOutInterceptor
-
- All Implemented Interfaces:
Interceptor<Message>,PhaseInterceptor<Message>
- Direct Known Subclasses:
SamlFormOutInterceptor,SamlHeaderOutInterceptor
public abstract class AbstractSamlOutInterceptor extends AbstractPhaseInterceptor<Message>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSamlOutInterceptor(String phase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.wss4j.common.saml.SamlAssertionWrappercreateAssertion(Message message)protected StringencodeToken(String assertion)voidsetUseDeflateEncoding(boolean deflate)-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.interceptor.Interceptor
handleMessage
-
-
-
-
Constructor Detail
-
AbstractSamlOutInterceptor
protected AbstractSamlOutInterceptor(String phase)
-
-
Method Detail
-
setUseDeflateEncoding
public void setUseDeflateEncoding(boolean deflate)
-
createAssertion
protected org.apache.wss4j.common.saml.SamlAssertionWrapper createAssertion(Message message) throws Fault
- Throws:
Fault
-
encodeToken
protected String encodeToken(String assertion) throws Base64Exception
- Throws:
Base64Exception
-
-