-
Notifications
You must be signed in to change notification settings - Fork 8
/
resources.groovy
58 lines (56 loc) · 2.3 KB
/
resources.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import com.cxf.demo.fault.out.interceptor.*
import com.cxf.demo.logging.CustomLoggingInInterceptor
import com.cxf.demo.logging.CustomLoggingOutInterceptor
import com.cxf.demo.logging.VerboseCustomLoggingInInterceptor
import com.cxf.demo.security.CustomSecurityInterceptor
import org.apache.cxf.configuration.security.AuthorizationPolicy
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy
import org.grails.cxf.client.security.DefaultSecurityOutInterceptor
// Place your Spring DSL code here
beans = {
// myCustomInterceptor(CustomSecurityInterceptor)
//
// myCustomerSecurityOutInterceptor(DefaultSecurityOutInterceptor) {
// username = 'wsuser'
// password = 'password'
// }
//
// customLoggingInInterceptor(CustomLoggingInInterceptor) {
// name = "customLoggingInInterceptor"
// }
//
// customFaultOutInterceptorSetup(CustomFaultOutInterceptorSetup)
// customFaultOutInterceptorPreLogical(CustomFaultOutInterceptorPreLogical)
// customFaultOutInterceptorUserLogical(CustomFaultOutInterceptorUserLogical)
// customFaultOutInterceptorPostLogical(CustomFaultOutInterceptorPostLogical)
// customFaultOutInterceptorPrepareSend(CustomFaultOutInterceptorPrepareSend)
// customFaultOutInterceptorPreStream(CustomFaultOutInterceptorPreStream)
// customFaultOutInterceptorPreProtocol(CustomFaultOutInterceptorPreProtocol)
// customFaultOutInterceptorWrite(CustomFaultOutInterceptorWrite)
// customFaultOutInterceptorMarshal(CustomFaultOutInterceptorMarshal)
// customFaultOutInterceptorPreProtocol(CustomFaultOutInterceptorPreProtocol)
// customFaultOutInterceptorPostProtocol(CustomFaultOutInterceptorPostProtocol)
// customFaultOutInterceptorPreStream(CustomFaultOutInterceptorPreStream)
// customFaultOutInterceptorPostStream(CustomFaultOutInterceptorPostStream)
// customFaultOutInterceptorSend(CustomFaultOutInterceptorSend)
//
// verboseLoggingInInterceptor(VerboseCustomLoggingInInterceptor) {
// name = "verboseLoggingInInterceptor"
// }
//
// customLoggingOutInterceptor(CustomLoggingOutInterceptor) {
// name = "customLoggingOutInterceptor"
// }
//
// customHttpClientPolicy(HTTPClientPolicy) {
// connectionTimeout = 30000
// receiveTimeout = 60000
// allowChunking = false
// }
//
// customAuthorizationPolicy(AuthorizationPolicy) {
// userName = 'wsuser'
// password = 'secret'
// authorizationType = 'Basic'
// }
}