* limitations under the License.
*/
-import it.could.webdav.DAVTransaction;
-import it.could.webdav.DAVUtilities;
import org.apache.maven.archiva.configuration.Configuration;
import org.apache.maven.archiva.configuration.ConfigurationStore;
import org.apache.maven.archiva.configuration.ConfigurationStoreException;
import org.codehaus.plexus.util.FileUtils;
import org.codehaus.plexus.util.StringUtils;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
+import it.could.webdav.DAVTransaction;
+import it.could.webdav.DAVUtilities;
+
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
/**
* RepositoryAccess - access read/write to the repository.
*
{
permission = ArchivaRoleConstants.OPERATION_REPOSITORY_UPLOAD;
}
-
- permission += " - " + repoconfig.getId();
+
+ permission += "-" + repoconfig.getId();
boolean isAuthorized = securitySystem.isAuthorized( securitySession, permission, repoconfig.getId() );