summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-10-16 02:27:25 +0000
committerBrett Porter <brett@apache.org>2009-10-16 02:27:25 +0000
commitdf39db0389a9903ab92063a0b1cf0667e42cff96 (patch)
tree7dc4320eee7ba252a5469c5112e2f03e24aad7bd /archiva-modules
parent9d8b2bddec26218a44e68248beb82f54fc724c53 (diff)
downloadarchiva-df39db0389a9903ab92063a0b1cf0667e42cff96.tar.gz
archiva-df39db0389a9903ab92063a0b1cf0667e42cff96.zip
[MNG-1231] correct authorization for all getDepend* methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825739 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/main/java/org/apache/archiva/web/xmlrpc/security/ServiceMethodsPermissionsMapping.java40
1 files changed, 20 insertions, 20 deletions
diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/main/java/org/apache/archiva/web/xmlrpc/security/ServiceMethodsPermissionsMapping.java b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/main/java/org/apache/archiva/web/xmlrpc/security/ServiceMethodsPermissionsMapping.java
index 133820a8e..707568f7e 100644
--- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/main/java/org/apache/archiva/web/xmlrpc/security/ServiceMethodsPermissionsMapping.java
+++ b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/main/java/org/apache/archiva/web/xmlrpc/security/ServiceMethodsPermissionsMapping.java
@@ -24,14 +24,14 @@ import java.util.List;
/**
* ServiceMethodsPermissionsMapping
- *
+ *
* Used by the XmlRpcAuthenticationHandler to check the permissions specific to the requested service method.
- * New methods in exposed services must be registered in the appropriate operation below.
- *
+ * New methods in exposed services must be registered in the appropriate operation below.
+ *
* @version $Id: ServiceMethodsPermissionsMapping.java
*/
public class ServiceMethodsPermissionsMapping
-{
+{
public static final List<String> SERVICE_METHODS_FOR_OPERATION_MANAGE_CONFIGURATION = new ArrayList<String>()
{
{
@@ -46,34 +46,34 @@ public class ServiceMethodsPermissionsMapping
}
};
- public static final List<String> SERVICE_METHODS_FOR_OPERATION_RUN_INDEXER = new ArrayList<String>()
- {
+ public static final List<String> SERVICE_METHODS_FOR_OPERATION_RUN_INDEXER = new ArrayList<String>()
+ {
{
- add( "AdministrationService.executeRepositoryScanner");
+ add( "AdministrationService.executeRepositoryScanner");
}
- };
-
+ };
+
public static final List<String> SERVICE_METHODS_FOR_OPERATION_ACCESS_REPORT = new ArrayList<String>();
-
+
public static final List<String> SERVICE_METHODS_FOR_OPERATION_REPOSITORY_ACCESS = new ArrayList<String>()
{
{
add( "SearchService.quickSearch" );
add( "SearchService.getArtifactByChecksum" );
add( "SearchService.getArtifactVersions" );
- add( "SearchService.queryArtifactVersionsByDate" );
- add(" SearchService.getDirectDependencies" );
- add(" SearchService.getDirectDependencyTree" );
- add(" SearchService.getDependees" );
+ add( "SearchService.getArtifactVersionsByDate" );
+ add( "SearchService.getDependencies" );
+ add( "SearchService.getDependencyTree" );
+ add( "SearchService.getDependees" );
}
};
-
+
public static final List<String> SERVICE_METHODS_FOR_OPERATION_ADD_REPOSITORY = new ArrayList<String>();
-
+
public static final List<String> SERVICE_METHODS_FOR_OPERATION_DELETE_REPOSITORY = new ArrayList<String>();
-
+
public static final List<String> SERVICE_METHODS_FOR_OPERATION_EDIT_REPOSITORY = new ArrayList<String>();
-
- public static final List<String> SERVICE_METHODS_FOR_OPERATION_REPOSITORY_UPLOAD = new ArrayList<String>();
-
+
+ public static final List<String> SERVICE_METHODS_FOR_OPERATION_REPOSITORY_UPLOAD = new ArrayList<String>();
+
}