|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserAction
Interface that provides the authorization of the following file based user actions:
isEnabledForFileBrowsing(HttpServletRequest)
: Enables the user to browse/select
file.isEnabledForFileUpload(HttpServletRequest)
: Enables the user to upload files.
Method Summary | |
---|---|
boolean |
isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
Authenticates/enables the current user for browsing files. If the implementation doesn't bother you, just return true . |
boolean |
isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
Authenticates/enables the current user for uploading file. If the implementation doesn't bother you, just return true . |
Method Detail |
---|
boolean isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
true
.
request
- Servlet request from user
true
if user can upload to the server else false
boolean isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
true
.
request
- Servlet request from user
true
if user can browse the server else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |