Commit 5bfeea77 authored by Ate Douma's avatar Ate Douma

REPO-1205: Service for exposing REST resources from CMS application

- introducing a new hippo-repository-jaxrs module, providing a RepositoryJaxrsService infrastructure with a related RepositoryJaxrsServlet
- repository modules (and services) can now dynamically add/remove RepositoryJaxrsEndpoints to be exposed through the RepositoryJaxrsServlet
- invoking these RepositoryJaxrsEndpoints requires (repository based) authentication, optionally further auhorization secured through a new "restuser" role and "hippo:rest" permission on a configurable node using a hippo security domain
parent a9bb7dea
......@@ -7,7 +7,6 @@ src/main/java/org/onehippo/cms7/services/autoreload/AutoReloadService.java -text
src/main/java/org/onehippo/cms7/services/eventbus/HippoEventListener.java -text svneol=unset#text/plain
src/main/java/org/onehippo/cms7/services/eventbus/Subscribe.java -text
src/main/java/org/onehippo/cms7/services/googleanalytics/GoogleAnalyticsService.java -text
src/main/java/org/onehippo/cms7/services/jaxrs/JaxrsService.java -text
src/main/java/org/onehippo/cms7/services/webfiles/WebFile.java -text
src/main/java/org/onehippo/cms7/services/webfiles/WebFileEvent.java -text
src/main/java/org/onehippo/cms7/services/webfiles/WebFilesService.java -text
/*
* Copyright 2014-2014 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.onehippo.cms7.services.jaxrs;
import org.onehippo.cms7.services.SingletonService;
import org.onehippo.cms7.services.WhiteboardService;
@SingletonService
@WhiteboardService
public interface JaxrsService {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment