}
if (getAuthenticationSession() == null) {
throw RestfulObjectsApplicationException.create(HttpStatusCode.UNAUTHORIZED);
}
this.resourceContext = new ResourceContext(
representationType, httpHeaders, uriInfo, request, where, urlUnencodedQueryString, httpServletRequest, httpServletResponse,
securityContext, getLocalization(), getAuthenticationSession(), getPersistenceSession(), getAdapterManager(), getSpecificationLoader(), getConfiguration());
}