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 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 4 |
Complexity Density: 0.8 |
|
6 |
|
public class SecureCxfJaxWsProxyClientFactory extends CxfJaxWsProxyClientFactory { |
7 |
|
private SamlTokenCxfInInterceptor samlTokenInInterceptor; |
8 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
9 |
0
|
@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 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
19 |
0
|
public SamlTokenCxfInInterceptor getSamlTokenInInterceptor() {... |
20 |
0
|
return samlTokenInInterceptor; |
21 |
|
} |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
23 |
0
|
public void setSamlTokenInInterceptor(SamlTokenCxfInInterceptor samlTokenInInterceptor) {... |
24 |
0
|
this.samlTokenInInterceptor = samlTokenInInterceptor; |
25 |
|
} |
26 |
|
|
27 |
|
} |