@@ -130,7 +130,9 @@ public WebAcService() {
130
130
* Create a WebAC-based authorization service.
131
131
*
132
132
* @param services the trellis service bundler
133
+ * @deprecated this constructor is deprecated and will be removed in a future release
133
134
*/
135
+ @ Deprecated
134
136
public WebAcService (final ServiceBundler services ) {
135
137
this (services , new NoopAuthorizationCache ());
136
138
}
@@ -140,8 +142,10 @@ public WebAcService(final ServiceBundler services) {
140
142
*
141
143
* @param services the trellis service bundler
142
144
* @param cache a cache
145
+ * @deprecated this constructor is deprecated and will be removed in a future release
143
146
*/
144
147
@ Inject
148
+ @ Deprecated
145
149
public WebAcService (final ServiceBundler services ,
146
150
@ TrellisAuthorizationCache final CacheService <String , Set <IRI >> cache ) {
147
151
this (services .getResourceService (), cache );
@@ -151,7 +155,9 @@ public WebAcService(final ServiceBundler services,
151
155
* Create a WebAC-based authorization service.
152
156
*
153
157
* @param resourceService the resource service
158
+ * @deprecated this constructor is deprecated and will be removed in a future release
154
159
*/
160
+ @ Deprecated
155
161
public WebAcService (final ResourceService resourceService ) {
156
162
this (resourceService , new NoopAuthorizationCache ());
157
163
}
@@ -161,7 +167,9 @@ public WebAcService(final ResourceService resourceService) {
161
167
*
162
168
* @param resourceService the resource service
163
169
* @param cache a cache
170
+ * @deprecated this constructor is deprecated and will be removed in a future release
164
171
*/
172
+ @ Deprecated
165
173
public WebAcService (final ResourceService resourceService , final CacheService <String , Set <IRI >> cache ) {
166
174
this (resourceService , cache , getConfig ());
167
175
}
@@ -179,7 +187,9 @@ private WebAcService(final ResourceService resourceService, final CacheService<S
179
187
* @param resourceService the resource service
180
188
* @param cache a cache
181
189
* @param checkMembershipResources whether to check membership resource permissions (default=false)
190
+ * @deprecated this constructor is deprecated and will be removed in a future release
182
191
*/
192
+ @ Deprecated
183
193
public WebAcService (final ResourceService resourceService ,
184
194
final CacheService <String , Set <IRI >> cache , final boolean checkMembershipResources ) {
185
195
this (resourceService , cache , checkMembershipResources , DEFAULT_ACL_LOCATION );
@@ -192,7 +202,9 @@ public WebAcService(final ResourceService resourceService,
192
202
* @param cache a cache
193
203
* @param checkMembershipResources whether to check membership resource permissions (default=false)
194
204
* @param defaultAuthResourceLocation a classpath location of a default root ACL (in Turtle)
205
+ * @deprecated this constructor is deprecated and will be removed in a future release
195
206
*/
207
+ @ Deprecated
196
208
public WebAcService (final ResourceService resourceService , final CacheService <String , Set <IRI >> cache ,
197
209
final boolean checkMembershipResources , final String defaultAuthResourceLocation ) {
198
210
this .resourceService = requireNonNull (resourceService , "A non-null ResourceService must be provided!" );
@@ -364,6 +376,7 @@ private static Predicate<Authorization> getInheritedAuth(final IRI identifier) {
364
376
}
365
377
366
378
@ TrellisAuthorizationCache
379
+ @ Deprecated
367
380
public static class NoopAuthorizationCache implements CacheService <String , Set <IRI >> {
368
381
369
382
@ Override
0 commit comments