001 package org.kuali.student.security.cxf.interceptors; 002 003 import org.apache.cxf.message.Message; 004 import org.apache.cxf.phase.AbstractPhaseInterceptor; 005 import org.apache.cxf.phase.Phase; 006 007 public class AttachmentInInterceptor extends AbstractPhaseInterceptor<Message> { 008 public AttachmentInInterceptor() { 009 super(Phase.PRE_PROTOCOL); 010 } 011 012 public void handleMessage(Message message) { 013 System.out.println("\n\n In the AttachmentInInterceptor on the bus that does nothing ...... \n" + 014 " inbound message ... "+ message.getContextualProperty(Message.INBOUND_MESSAGE) + "\n" + 015 " wsdl service .... " + message.getContextualProperty(Message.WSDL_SERVICE) + "\n" + 016 " wsdl operation .... " + message.getContextualProperty(Message.WSDL_OPERATION) + "\n" + 017 " request uri .... " + message.getContextualProperty(Message.REQUEST_URI) + "\n" + 018 " path info .... " + message.getContextualProperty(Message.PATH_INFO) + "\n" 019 ); 020 } 021 022 public void handleFault(Message messageParam) { 023 } 024 025 }