File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
src/main/com/yetanalytics/lrs/pedestal Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 436436 xapi-ltags-interceptor])
437437
438438(def xapi-protected-interceptors
439- [; ; one of these two will set up a version value
439+ [; ; set up a version value
440440 extract-xapi-version-interceptor
441441 xapi/alternate-request-syntax-interceptor
442442 ; ; for the check here
Original file line number Diff line number Diff line change 6666 :get :xapi.agents.profile.GET.request/params
6767 :head :xapi.agents.profile.GET.request/params
6868 :delete :xapi.agents.profile.DELETE.request/params ))
69- doc-params-interceptor
70- (xapi-i/params-interceptor spec-kw)
69+ doc-params-interceptor
70+ (xapi-i/params-interceptor spec-kw)
7171 params-interceptors
7272 (cond-> [doc-params-interceptor]
7373 ; ; Scan files if scanner is present on PUT/POST
119119 global-interceptors-no-auth (into wrap-interceptors
120120 (conj i/common-interceptors
121121 lrs-i))
122- global-interceptors (into wrap-interceptors
123- (conj i/common-interceptors
124- lrs-i
125- auth-i/lrs-authenticate
126- auth-i/lrs-authorize))
127122 protected-interceptors (into wrap-interceptors
128123 (concat
129- global-interceptors
130- i/xapi-protected-interceptors))
124+ i/common-interceptors
125+ i/xapi-protected-interceptors
126+ [lrs-i
127+ auth-i/lrs-authenticate
128+ auth-i/lrs-authorize]))
131129 document-interceptors (into wrap-interceptors
132130 (concat
131+ i/xapi-protected-interceptors
133132 (conj i/doc-interceptors-base
134133 lrs-i
135134 auth-i/lrs-authenticate
136- auth-i/lrs-authorize)
137- i/xapi-protected-interceptors))]
135+ auth-i/lrs-authorize)))]
138136 (into #{; ; health check
139137 (gc/annotate
140138 [" /health"
You can’t perform that action at this time.
0 commit comments