jet.server.api
Interface SendFileAuthorizor


public interface SendFileAuthorizor

Interface SendFileAuthorizor provides methods to judge if a user has right to access a certain file only by using SendFileServlet. Deprecated since version 8.0, and replaced by jet.server.api.http.SendFileAuthorizor.


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

Method Detail

isAuthorized

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

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