The class JsonCoreIODelegate extends PartialCoreIODelegate, in which a CoreSession is required.
PartialCoreIODelegate.java
@Override public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) { if (accept(type, genericType, annotations, mediaType)) { RenderingContext ctx = RenderingContextWebUtils.getContext(request); ... } }
However, Nuxeo server might receive HTTP request where client does not provide a core session. It breaks the open URL in Studio, in which HTTP clients are not Studio users. See NXS-4287
- duplicates
-
NXP-20267 Fix webengine to allow unauthenticated access using openurl
- Resolved