|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.apache.maven.continuum.web.action.PlexusActionSupport
org.apache.maven.continuum.web.action.ContinuumActionSupport
public class ContinuumActionSupport
ContinuumActionSupport
| Field Summary | |
|---|---|
protected java.text.SimpleDateFormat |
dateFormatter
|
protected static java.lang.String |
ERROR_MSG_AUTHORIZATION_REQUIRED
|
protected static java.lang.String |
ERROR_MSG_PROCESSING_AUTHORIZATION
|
protected static java.lang.String |
REQUIRES_AUTHENTICATION
|
protected static java.lang.String |
REQUIRES_AUTHORIZATION
|
| Fields inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport |
|---|
session |
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
ContinuumActionSupport()
|
|
| Method Summary | |
|---|---|
protected void |
checkAddGroupBuildDefinitionAuthorization(java.lang.String resource)
Check if the current user is authorized to add a build definition for the specified project group |
protected void |
checkAddProjectBuildDefinitionAuthorization(java.lang.String resource)
Check if the current user is authorized to add a group build definition to a specific project |
protected void |
checkAddProjectGroupAuthorization()
Check if the current user is authorized to add a project group |
protected void |
checkAddProjectGroupNotifierAuthorization(java.lang.String resource)
Check if the current user is authorized to add a notifier to the specified project group |
protected void |
checkAddProjectNotifierAuthorization(java.lang.String resource)
Check if the current user is authorized to add a notifier to a specific project |
protected void |
checkAddProjectToGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to add a project to a specific project group |
protected void |
checkAuthorization(java.lang.String role)
Check if the current user is authorized to do the action |
protected void |
checkAuthorization(java.lang.String role,
java.lang.String resource)
Check if the current user is authorized to do the action |
protected void |
checkAuthorization(java.lang.String role,
java.lang.String resource,
boolean requiredResource)
Check if the current user is authorized to do the action |
protected void |
checkBuildProjectGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to build the specified project group |
protected void |
checkBuildProjectInGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to build a project in the specified group |
protected void |
checkManageConfigurationAuthorization()
Check if the current user is authorized to manage the application's configuration |
protected void |
checkManageLocalRepositoriesAuthorization()
|
protected void |
checkManageQueuesAuthorization()
Check if the current user is authorized to manage queues |
protected void |
checkManageSchedulesAuthorization()
Check if the current user is authorized to manage the project build schedules |
protected void |
checkModifyGroupBuildDefinitionAuthorization(java.lang.String resource)
Check if the current user is authorized to modify a build definition in the specified project group |
protected void |
checkModifyProjectBuildDefinitionAuthorization(java.lang.String resource)
Check if the current user is authorized to modify a build definition of a specific project |
protected void |
checkModifyProjectGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to modify the specified project group |
protected void |
checkModifyProjectGroupNotifierAuthorization(java.lang.String resource)
Check if the current user is authorized to modify a notifier in the specified project group |
protected void |
checkModifyProjectInGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to modify a project in the specified group |
protected void |
checkModifyProjectNotifierAuthorization(java.lang.String resource)
Check if the current user is authorized to modify a notifier in a specific project |
protected void |
checkRemoveGroupBuildDefinitionAuthorization(java.lang.String resource)
Check if the current user is authorized to delete a build definition in the specified project group |
protected void |
checkRemoveProjectBuildDefinitionAuthorization(java.lang.String resource)
Check if the current user is authorized to delete a build definition of a specific project |
protected void |
checkRemoveProjectFromGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to delete a project from a specified group |
protected void |
checkRemoveProjectGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to delete the specified project group |
protected void |
checkRemoveProjectGroupNotifierAuthorization(java.lang.String resource)
Check if the current user is authorized to delete a notifier in the specified project group |
protected void |
checkRemoveProjectNotifierAuthorization(java.lang.String resource)
Check if the current user is authorized to delete a notifier in a specific project |
protected void |
checkViewProjectGroupAuthorization(java.lang.String resource)
Check if the current user is authorized to view the specified project group |
java.lang.String |
doDefault()
|
java.lang.String |
execute()
|
org.apache.maven.continuum.Continuum |
getContinuum()
|
protected java.lang.String |
getPrincipal()
|
protected java.util.ResourceBundle |
getResourceBundle()
|
protected org.codehaus.plexus.redback.system.SecuritySystem |
getSecuritySystem()
Get the security system |
java.lang.String |
input()
|
boolean |
isAuthenticated()
Check if the current user is already authenticated |
void |
prepare()
|
protected boolean |
requiresAuthentication()
|
void |
setContinuum(org.apache.maven.continuum.Continuum continuum)
|
| Methods inherited from class org.apache.maven.continuum.web.action.PlexusActionSupport |
|---|
setSession |
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String REQUIRES_AUTHENTICATION
protected static final java.lang.String REQUIRES_AUTHORIZATION
protected static final java.lang.String ERROR_MSG_AUTHORIZATION_REQUIRED
protected static final java.lang.String ERROR_MSG_PROCESSING_AUTHORIZATION
protected final java.text.SimpleDateFormat dateFormatter
| Constructor Detail |
|---|
public ContinuumActionSupport()
| Method Detail |
|---|
public void prepare()
throws java.lang.Exception
prepare in interface com.opensymphony.xwork2.Preparablejava.lang.Exceptionpublic org.apache.maven.continuum.Continuum getContinuum()
public void setContinuum(org.apache.maven.continuum.Continuum continuum)
public java.lang.String doDefault()
throws java.lang.Exception
doDefault in class com.opensymphony.xwork2.ActionSupportjava.lang.Exception
public java.lang.String input()
throws java.lang.Exception
input in class com.opensymphony.xwork2.ActionSupportjava.lang.Exception
public java.lang.String execute()
throws java.lang.Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportjava.lang.Exception
protected void checkAuthorization(java.lang.String role)
throws AuthorizationRequiredException
role - the role
AuthorizationRequiredException - if the user isn't authorized
protected void checkAuthorization(java.lang.String role,
java.lang.String resource)
throws AuthorizationRequiredException
role - the roleresource - the operation resource
AuthorizationRequiredException - if the user isn't authorized
protected void checkAuthorization(java.lang.String role,
java.lang.String resource,
boolean requiredResource)
throws AuthorizationRequiredException
role - the roleresource - the operation resourcerequiredResource - true if resource can't be null
AuthorizationRequiredException - if the user isn't authorized
protected void checkViewProjectGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectGroupAuthorization()
throws AuthorizationRequiredException
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkBuildProjectGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectToGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectFromGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectInGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkBuildProjectInGroupAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkAddGroupBuildDefinitionAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveGroupBuildDefinitionAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkModifyGroupBuildDefinitionAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectBuildDefinitionAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectBuildDefinitionAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectBuildDefinitionAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectGroupNotifierAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectGroupNotifierAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectGroupNotifierAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operartion resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectNotifierAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectNotifierAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectNotifierAuthorization(java.lang.String resource)
throws AuthorizationRequiredException
resource - the operation resource
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkManageConfigurationAuthorization()
throws AuthenticationRequiredException,
AuthorizationRequiredException
AuthenticationRequiredException - if the user isn't authorized if the user isn't authenticated
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkManageSchedulesAuthorization()
throws AuthenticationRequiredException,
AuthorizationRequiredException
AuthenticationRequiredException - if the user isn't authorized if the user isn't authenticated
AuthorizationRequiredException - if the user isn't authorized if the user isn't authorized
protected void checkManageQueuesAuthorization()
throws AuthenticationRequiredException,
AuthorizationRequiredException
AuthenticationRequiredException - if the user isn't authenticated
AuthorizationRequiredException - if the user isn't authorized
protected void checkManageLocalRepositoriesAuthorization()
throws AuthorizationRequiredException
AuthorizationRequiredExceptionprotected org.codehaus.plexus.redback.system.SecuritySystem getSecuritySystem()
protected boolean requiresAuthentication()
public boolean isAuthenticated()
protected java.util.ResourceBundle getResourceBundle()
protected java.lang.String getPrincipal()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||