1616 */
1717package com .atomgraph .linkeddatahub .server .filter .request ;
1818
19- import com .atomgraph .client .vocabulary .AC ;
2019import com .atomgraph .linkeddatahub .apps .model .EndUserApplication ;
2120import com .atomgraph .linkeddatahub .client .SesameProtocolClient ;
2221import com .atomgraph .linkeddatahub .server .exception .auth .AuthorizationException ;
@@ -106,13 +105,6 @@ public void filter(ContainerRequestContext request) throws IOException
106105 if (request == null ) throw new IllegalArgumentException ("ContainerRequestContext cannot be null" );
107106 if (log .isDebugEnabled ()) log .debug ("Authorizing request URI: {}" , request .getUriInfo ().getRequestUri ());
108107
109- // allow proxied URIs that are mapped to local files
110- if (request .getMethod ().equals (HttpMethod .GET ) && request .getUriInfo ().getQueryParameters ().containsKey (AC .uri .getLocalName ()))
111- {
112- String proxiedURI = request .getUriInfo ().getQueryParameters ().getFirst (AC .uri .getLocalName ());
113- if (getSystem ().getDataManager ().isMapped (proxiedURI )) return ;
114- }
115-
116108 Resource accessMode = ACCESS_MODES .get (request .getMethod ());
117109 if (log .isDebugEnabled ()) log .debug ("Request method: {} ACL access mode: {}" , request .getMethod (), accessMode );
118110 if (accessMode == null )
@@ -130,8 +122,6 @@ public void filter(ContainerRequestContext request) throws IOException
130122 }
131123 }
132124
133- if (getDataset ().isPresent ()) return ; // skip proxied dataspaces
134-
135125 final Agent agent ;
136126 if (request .getSecurityContext ().getUserPrincipal () instanceof Agent ) agent = ((Agent )(request .getSecurityContext ().getUserPrincipal ()));
137127 else agent = null ; // public access
@@ -458,4 +448,4 @@ public ParameterizedSparqlString getOwnerACLQuery()
458448 return ownerAclQuery .copy ();
459449 }
460450
461- }
451+ }
0 commit comments