|
|||||||||
| Home >> All >> com >> RuntimeCollective >> permission >> [ action overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.RuntimeCollective.permission.action
Class AdminEditorAction

java.lang.ObjectBaseAction
com.RuntimeCollective.webapps.action.BaseForwardAction
com.RuntimeCollective.webapps.action.BaseUserAction
com.RuntimeCollective.permission.action.PermissibleAction
com.RuntimeCollective.permission.action.AuthenticatedAction
com.RuntimeCollective.permission.action.AdminEditorAction
- public class AdminEditorAction
- extends AuthenticatedAction
An action which ensures the user is in an Admin/Editor group type, whose name is specified in web.xml under the attribute name defined by UG_TYPE_PARAM.
- Version:
- $Id: AdminEditorAction.java,v 1.5 2003/09/30 15:12:49 joe Exp $
| Field Summary | |
private static int |
typeId
|
static java.lang.String |
UG_TYPE_PARAM
|
| Fields inherited from class com.RuntimeCollective.permission.action.PermissibleAction |
DENIED, NOT_AUTH |
| Fields inherited from class com.RuntimeCollective.webapps.action.BaseUserAction |
USER_KEY |
| Fields inherited from class com.RuntimeCollective.webapps.action.BaseForwardAction |
CANCEL, FAILURE, FAILURE_KEY, INVALID, ITERATE, SUCCESS, SUCCESS_FORWARD, SUCCESS_KEY, SUCCESS_PARAM_MAP, TRANSACTION_TOKEN_KEY |
| Constructor Summary | |
AdminEditorAction()
|
|
| Method Summary | |
protected void |
checkPermissions(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves an appropriate error if the requesting user does not have sufficient status to allow the action to be performed. |
private static com.RuntimeCollective.webapps.bean.UserGroupType |
getType()
|
static boolean |
isAdminEditor(com.RuntimeCollective.webapps.bean.User user)
Check whether a User is or not part of the AdminEditor group type defined in web.xml. |
| Methods inherited from class com.RuntimeCollective.permission.action.PermissibleAction |
authorisedPreProcess, preProcess, validateRequest |
| Methods inherited from class com.RuntimeCollective.webapps.action.BaseUserAction |
execute, getUser |
| Methods inherited from class com.RuntimeCollective.webapps.action.BaseForwardAction |
findFailure, findSuccess, forward, getToken, isTokenValid, iterate, resetToken, saveToken, setFailureForward, setSuccessForward, setSuccessForward, setSuccessForward, setToken, validForm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
UG_TYPE_PARAM
public static java.lang.String UG_TYPE_PARAM
typeId
private static int typeId
| Constructor Detail |
AdminEditorAction
public AdminEditorAction()
| Method Detail |
getType
private static com.RuntimeCollective.webapps.bean.UserGroupType getType()
checkPermissions
protected void checkPermissions(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Description copied from class:
PermissibleAction - Saves an appropriate error if the requesting user does not have
sufficient status to allow the action to be performed.
- Overrides:
checkPermissionsin classAuthenticatedAction
isAdminEditor
public static boolean isAdminEditor(com.RuntimeCollective.webapps.bean.User user)
- Check whether a User is or not part of the AdminEditor group type
defined in web.xml.
|
|||||||||
| Home >> All >> com >> RuntimeCollective >> permission >> [ action overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
BaseAction