Class SpringAuthenticationJanitorInterceptor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.SpringAuthenticationJanitorInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class SpringAuthenticationJanitorInterceptor extends Object implements org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
Responsible to cleanup spring authentication object after we finished WS method call
-
-
Constructor Summary
Constructors Constructor Description SpringAuthenticationJanitorInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>>
getAdditionalInterceptors()
Set<String>
getAfter()
Set<String>
getBefore()
String
getId()
String
getPhase()
void
handleFault(org.apache.cxf.binding.soap.SoapMessage message)
void
handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
-
-
-
Method Detail
-
getAfter
public Set<String> getAfter()
- Specified by:
getAfter
in interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getBefore
public Set<String> getBefore()
- Specified by:
getBefore
in interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getPhase
public String getPhase()
- Specified by:
getPhase
in interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getAdditionalInterceptors
public Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>> getAdditionalInterceptors()
- Specified by:
getAdditionalInterceptors
in interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage message) throws org.apache.cxf.interceptor.Fault
- Specified by:
handleMessage
in interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
- Throws:
org.apache.cxf.interceptor.Fault
-
handleFault
public void handleFault(org.apache.cxf.binding.soap.SoapMessage message)
- Specified by:
handleFault
in interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
-
-