Coverage Report - org.kuali.student.security.ws.beans.SecureCxfJaxWsProxyClientFactory
 
Classes in this File Line Coverage Branch Coverage Complexity
SecureCxfJaxWsProxyClientFactory
0%
0/7
0%
0/2
1.333
 
 1  
 package org.kuali.student.security.ws.beans;
 2  
 
 3  
 import org.kuali.student.common.ws.beans.CxfJaxWsProxyClientFactory;
 4  
 import org.kuali.student.security.cxf.interceptors.SamlTokenCxfInInterceptor;
 5  
 
 6  0
 public class SecureCxfJaxWsProxyClientFactory extends CxfJaxWsProxyClientFactory {
 7  
     private SamlTokenCxfInInterceptor samlTokenInInterceptor;
 8  
     
 9  
     @Override
 10  
     public Object getObject() throws Exception {
 11  
         
 12  0
         if(samlTokenInInterceptor != null){
 13  0
             this.getInInterceptors().add(samlTokenInInterceptor);
 14  
         }
 15  
         
 16  0
         return super.create();
 17  
     }
 18  
 
 19  
     public SamlTokenCxfInInterceptor getSamlTokenInInterceptor() {
 20  0
         return samlTokenInInterceptor;
 21  
     }
 22  
 
 23  
     public void setSamlTokenInInterceptor(SamlTokenCxfInInterceptor samlTokenInInterceptor) {
 24  0
         this.samlTokenInInterceptor = samlTokenInInterceptor;
 25  0
     }
 26  
         
 27  
 }