Class SpringAuthenticationInjectorInterceptor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.security.SpringAuthenticationInjectorInterceptor
-
- 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 SpringAuthenticationInjectorInterceptor extends Object implements org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
Responsible to inject Spring authentication object before we call WS method
-
-
Constructor Summary
Constructors Constructor Description SpringAuthenticationInjectorInterceptor(UserProfileService userDetailsService, SecurityEnforcer securityEnforcer, SecurityHelper securityHelper, ActivationComputer activationComputer, TaskManager taskManager)
-
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()StringgetId()StringgetPhase()voidhandleFault(org.apache.cxf.binding.soap.SoapMessage message)voidhandleMessage(org.apache.cxf.binding.soap.SoapMessage message)
-
-
-
Constructor Detail
-
SpringAuthenticationInjectorInterceptor
public SpringAuthenticationInjectorInterceptor(UserProfileService userDetailsService, SecurityEnforcer securityEnforcer, SecurityHelper securityHelper, ActivationComputer activationComputer, TaskManager taskManager)
-
-
Method Detail
-
getAfter
public Set<String> getAfter()
- Specified by:
getAfterin interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getBefore
public Set<String> getBefore()
- Specified by:
getBeforein interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
getPhase
public String getPhase()
- Specified by:
getPhasein 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:
getAdditionalInterceptorsin 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:
handleMessagein 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:
handleFaultin interfaceorg.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>
-
-