net.fckeditor.requestcycle
Interface UserAction

All Known Implementing Classes:
UserActionImpl

public interface UserAction

Interface that provides the authorization of the following file based user actions:

Version:
$Id: UserAction.java 1913 2008-04-13 16:46:20Z th-schwarz $

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

isEnabledForFileUpload

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.

Parameters:
request - Servlet request from user
Returns:
true if user can upload to the server else false

isEnabledForFileBrowsing

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.

Parameters:
request - Servlet request from user
Returns:
true if user can browse the server else false


Copyright © 2004-2008 Frederico Caldeira Knabben. All Rights Reserved.