API Overview API Index Package Overview Direct link to this page
Struts 1.3
  org.apache.struts.chain.commands.servlet. AuthorizeAction View Source
Author(s)
Since
Version
$Rev: 471754 $ $Date: 2005-11-12 13:01:44 -0500 (Sat, 12 Nov 2005) $
Serial
Hierarchy
 Object
      ActionCommandBase
          AbstractAuthorizeAction
              AuthorizeAction
Implements
Subclasses
Description
public class AuthorizeAction
  Determine if the action is authorized for the given roles.
See also:   
Constructors
public AuthorizeAction ()
Methods
Hide/Show inherited methods
public boolean execute (ActionContext actionCtx) throws Exception [Inherited From AbstractAuthorizeAction] [Specified in ActionCommandBase]
  Determine whether the requested action is authorized for the current user.
protected String getErrorMessage (ActionContext context, ActionConfig actionConfig) [Specified in AbstractAuthorizeAction]
protected boolean isAuthorizationRequired (ActionConfig actionConfig) [Inherited From AbstractAuthorizeAction]
  Must authorization rules be consulted? The base implementation returns true if the given ActionConfig has one or more roles defined.
protected boolean isAuthorized (ActionContext context, String roles, ActionConfig mapping) throws Exception [Specified in AbstractAuthorizeAction]
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar