|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.chain.AbstractAuthorizeAction
org.apache.struts.chain.servlet.AuthorizeAction
Determine if the action is authorized for the given roles.
| Field Summary |
| Fields inherited from class org.apache.struts.chain.AbstractAuthorizeAction |
|
| Constructor Summary | |
AuthorizeAction()
|
|
| Method Summary | |
protected boolean |
isAuthorized(org.apache.commons.chain.Context context,
java.lang.String[] roles,
org.apache.struts.config.ActionConfig mapping)
Determine if the action is authorized for the given roles. |
| Methods inherited from class org.apache.struts.chain.AbstractAuthorizeAction |
execute, getActionConfigKey, getActionServletKey, setActionConfigKey, setActionServletKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AuthorizeAction()
| Method Detail |
protected boolean isAuthorized(org.apache.commons.chain.Context context,
java.lang.String[] roles,
org.apache.struts.config.ActionConfig mapping)
throws java.lang.Exception
AbstractAuthorizeActionDetermine if the action is authorized for the given roles.
isAuthorized in class AbstractAuthorizeActioncontext - The Context for the current requestroles - An array of valid roles for this requestmapping - The current action mapping
true if the request is authorized, else
false
java.lang.Exception - If the action cannot be tested for authorization
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||