|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.continuum.xmlrpc.server.AbstractContinuumSecureService
public abstract class AbstractContinuumSecureService
| Constructor Summary | |
|---|---|
AbstractContinuumSecureService()
|
|
| 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 |
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 |
org.codehaus.plexus.redback.system.SecuritySession |
getSecuritySession()
|
org.codehaus.plexus.redback.system.SecuritySystem |
getSecuritySystem()
|
boolean |
isAuthenticated()
Check if the current user is already authenticated |
protected boolean |
isAuthorized(java.lang.String role,
java.lang.String resource)
Verify if the current user is authorized to do the action |
protected boolean |
isAuthorized(java.lang.String role,
java.lang.String resource,
boolean requiredResource)
Verify if the current user is authorized to do the action |
void |
setConfig(ContinuumXmlRpcConfig config)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.continuum.xmlrpc.ContinuumService |
|---|
addAntProject, addAntProject, addBuildDefinitionToProject, addBuildDefinitionToProjectGroup, addMavenOneProject, addMavenOneProject, addMavenTwoProject, addMavenTwoProject, addProjectToBuildQueue, addProjectToBuildQueue, addSchedule, addShellProject, addShellProject, buildProject, buildProject, getAllProjectGroups, getAllProjectGroupsWithProjects, getBuildDefinitionsForProject, getBuildDefinitionsForProjectGroup, getBuildOutput, getBuildResult, getBuildResultsForProject, getLatestBuildResult, getProfile, getProfiles, getProjectGroupSummary, getProjectGroupWithProjects, getProjects, getProjectSummary, getProjectWithAllDetails, getSchedule, getSchedules, ping, removeBuildResult, removeProject, removeProjectGroup, updateBuildDefinitionForProject, updateBuildDefinitionForProjectGroup, updateProject, updateProjectGroup, updateSchedule |
| Constructor Detail |
|---|
public AbstractContinuumSecureService()
| Method Detail |
|---|
public void setConfig(ContinuumXmlRpcConfig config)
setConfig in interface ContinuumXmlRpcComponentpublic org.codehaus.plexus.redback.system.SecuritySystem getSecuritySystem()
public org.codehaus.plexus.redback.system.SecuritySession getSecuritySession()
public boolean isAuthenticated()
protected void checkAuthorization(java.lang.String role)
throws org.apache.maven.continuum.ContinuumException
role - the role
org.apache.maven.continuum.ContinuumException - if the user isn't authorized
protected void checkAuthorization(java.lang.String role,
java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
role - the roleresource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized
protected boolean isAuthorized(java.lang.String role,
java.lang.String resource)
throws org.codehaus.plexus.redback.authorization.AuthorizationException
role - the roleresource - the operation resource
org.codehaus.plexus.redback.authorization.AuthorizationException - if the authorizing request generate an error
protected boolean isAuthorized(java.lang.String role,
java.lang.String resource,
boolean requiredResource)
throws org.codehaus.plexus.redback.authorization.AuthorizationException
role - the roleresource - the operation resourcerequiredResource - true if resource can't be null
org.codehaus.plexus.redback.authorization.AuthorizationException - if the authorizing request generate an error
protected void checkAuthorization(java.lang.String role,
java.lang.String resource,
boolean requiredResource)
throws org.apache.maven.continuum.ContinuumException
role - the roleresource - the operation resourcerequiredResource - true if resource can't be null
org.apache.maven.continuum.ContinuumException - if the user isn't authorized
protected void checkViewProjectGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectGroupAuthorization()
throws org.apache.maven.continuum.ContinuumException
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkBuildProjectGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectToGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectFromGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectInGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkBuildProjectInGroupAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkAddGroupBuildDefinitionAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveGroupBuildDefinitionAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkModifyGroupBuildDefinitionAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectBuildDefinitionAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectBuildDefinitionAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectBuildDefinitionAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectGroupNotifierAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectGroupNotifierAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectGroupNotifierAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operartion resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkAddProjectNotifierAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkRemoveProjectNotifierAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkModifyProjectNotifierAuthorization(java.lang.String resource)
throws org.apache.maven.continuum.ContinuumException
resource - the operation resource
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkManageConfigurationAuthorization()
throws org.apache.maven.continuum.ContinuumException,
org.apache.maven.continuum.ContinuumException
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authenticated
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
protected void checkManageSchedulesAuthorization()
throws org.apache.maven.continuum.ContinuumException,
org.apache.maven.continuum.ContinuumException
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authenticated
org.apache.maven.continuum.ContinuumException - if the user isn't authorized if the user isn't authorized
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||