Skip to content

Commit

Permalink
yet more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vedina committed Jun 1, 2012
1 parent 44e331b commit 7ce93e9
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ public int getMaxDepth() {
public void setMaxDepth(int maxDepth) {
this.maxDepth = maxDepth;
}
public ProtocolAuthorizer() {
super();
}
@Override
public void setPrefix(String u) {
super.setPrefix(u);
}
protected ReadProtocolAccessLocal query;
protected QueryExecutor<ReadProtocolAccessLocal> executor;
@Override
Expand Down Expand Up @@ -178,7 +185,10 @@ public AccessRights verify(DBProtocol protocol, String username) throws Exceptio

@Override
public String uri2check(Reference root,Reference ref) throws Exception {
if (prefix==null) return ref==null?null:ref.toString();
if (prefix==null) {
LOGGER.log(Level.INFO,"Why null prefix " + ref);
return ref==null?null:ref.toString();
}
if (ref == null) return null;

String u = root.toString();
Expand Down

0 comments on commit 7ce93e9

Please sign in to comment.