Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api.http
Interface SendFileAuthorizor

    public interface SendFileAuthorizor

This interface provides methods to judge if a user has right to access a certain file by using SendFileServlet. Since version 8.0, jet.server.api.SendFileAuthorizor is replaced by this interface.

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

Method Detail

### isAuthorized

    boolean isAuthorized(java.lang.String userID,
                         java.lang.String _path,
                         HttpRptServer httpRptServer)

  Judge if a user has right to access a certain file by using SendFileServlet.

  Parameters:
    `userID` - the user ID.
    `_path` - the full path of the file.
    `httpRptServer` - the server instance.
  Returns:
    if a user has right to access a certain file by using SendFileServlet.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD