diff options
-rw-r--r-- | archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/main/java/org/apache/archiva/web/xmlrpc/security/ServiceMethodsPermissionsMapping.java | 40 |
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>(); + } |