|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserAction
An interface which provides the authorization of server-side commands.
The commands are:
isEnabledForFileBrowsing(HttpServletRequest)
: Enables the user
to browse/select files.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 files. 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, or
false
boolean isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
true
.
request
- Servlet request from user
true
if user can browse the server, or
false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |