net.fckeditor.requestcycle
Interface UserAction

All Known Implementing Classes:
UserActionImpl

public interface UserAction

An interface which provides the authorization of server-side commands.
The commands are:

Version:
$Id: UserAction.java 3840 2009-07-08 20:29:46Z mosipov $

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

isEnabledForFileUpload

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.

Parameters:
request - Servlet request from user
Returns:
true if user can upload to the server, or 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, or false


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