jet.server.api
Interface SendFileAuthorizor


Deprecated. As of version 8.0, replaced by jet.server.api.http.SendFileAuthorizor.

public interface SendFileAuthorizor

Interface SendFileAuthorizor provides methods to judge if a user has right to access a file only by using SendFileServlet.


Method Summary
 boolean isAuthorized(java.lang.String userID, java.lang.String _path, HttpRptServer httpRptServer)
          Deprecated. Checks if a user has right to access a specific file only by using SendFileServlet.
 

Method Detail

isAuthorized

boolean isAuthorized(java.lang.String userID,
                     java.lang.String _path,
                     HttpRptServer httpRptServer)
Deprecated. 
Checks if a user has right to access a specific file only by using SendFileServlet.

Parameters:
userID - the user ID.
_path - the full path of the file.
httpRptServer - the server instance.