com.evolveum.midpoint.model.security
Class SpringAuthenticationJanitorInterceptor

java.lang.Object
  extended by com.evolveum.midpoint.model.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 java.lang.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
SpringAuthenticationJanitorInterceptor()
           
 
Method Summary
 java.util.Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>> getAdditionalInterceptors()
           
 java.util.Set<java.lang.String> getAfter()
           
 java.util.Set<java.lang.String> getBefore()
           
 java.lang.String getId()
           
 java.lang.String getPhase()
           
 void handleFault(org.apache.cxf.binding.soap.SoapMessage message)
           
 void handleMessage(org.apache.cxf.binding.soap.SoapMessage message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringAuthenticationJanitorInterceptor

public SpringAuthenticationJanitorInterceptor()
Method Detail

getAfter

public java.util.Set<java.lang.String> getAfter()
Specified by:
getAfter in interface org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

getBefore

public java.util.Set<java.lang.String> getBefore()
Specified by:
getBefore in interface org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

getId

public java.lang.String getId()
Specified by:
getId in interface org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

getPhase

public java.lang.String getPhase()
Specified by:
getPhase in interface org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>

getAdditionalInterceptors

public java.util.Collection<org.apache.cxf.phase.PhaseInterceptor<? extends org.apache.cxf.message.Message>> getAdditionalInterceptors()
Specified by:
getAdditionalInterceptors in interface org.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 interface org.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 interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>


Copyright © 2012 evolveum. All Rights Reserved.