Save This Page
Home » struts-1.3.9-src » org.apache.struts » chain » commands » servlet » [javadoc | source]
org.apache.struts.chain.commands.servlet
public class: AuthorizeAction [javadoc | source]
java.lang.Object
   org.apache.struts.chain.commands.ActionCommandBase
      org.apache.struts.chain.commands.AbstractAuthorizeAction
         org.apache.struts.chain.commands.servlet.AuthorizeAction

All Implemented Interfaces:
    ActionCommand

Determine if the action is authorized for the given roles.

Method from org.apache.struts.chain.commands.servlet.AuthorizeAction Summary:
getErrorMessage,   isAuthorized
Methods from org.apache.struts.chain.commands.AbstractAuthorizeAction:
execute,   getErrorMessage,   isAuthorizationRequired,   isAuthorized
Methods from org.apache.struts.chain.commands.ActionCommandBase:
execute,   execute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.chain.commands.servlet.AuthorizeAction Detail:
 protected String getErrorMessage(ActionContext context,
    ActionConfig actionConfig) 
 protected boolean isAuthorized(ActionContext context,
    String[] roles,
    ActionConfig mapping) throws Exception