[DEBUG] coreect log
This commit is contained in:
parent
3ad7a07616
commit
dba3562c14
@ -356,7 +356,7 @@ public class DataResource {
|
||||
public Response retriveDataId(@Context SecurityContext sc, @HeaderParam("Range") String range, @PathParam("id") Long id) throws Exception {
|
||||
GenericContext gc = (GenericContext) sc.getUserPrincipal();
|
||||
System.out.println("===================================================");
|
||||
System.out.println("== DATA retriveDataId ? " + gc.user);
|
||||
System.out.println("== DATA retriveDataId ? " + (gc==null?"null":gc.user));
|
||||
System.out.println("===================================================");
|
||||
DataSmall value = getSmall(id);
|
||||
if (value == null) {
|
||||
@ -375,7 +375,7 @@ public class DataResource {
|
||||
public Response retriveDataThumbnailId(@Context SecurityContext sc, @HeaderParam("Range") String range, @PathParam("id") Long id) throws Exception {
|
||||
GenericContext gc = (GenericContext) sc.getUserPrincipal();
|
||||
System.out.println("===================================================");
|
||||
System.out.println("== DATA retriveDataThumbnailId ? " + gc.user);
|
||||
System.out.println("== DATA retriveDataThumbnailId ? " + (gc==null?"null":gc.user));
|
||||
System.out.println("===================================================");
|
||||
DataSmall value = getSmall(id);
|
||||
if (value == null) {
|
||||
@ -422,7 +422,7 @@ public class DataResource {
|
||||
public Response retriveDataFull(@Context SecurityContext sc, @HeaderParam("Range") String range, @PathParam("id") Long id, @PathParam("name") String name) throws Exception {
|
||||
GenericContext gc = (GenericContext) sc.getUserPrincipal();
|
||||
System.out.println("===================================================");
|
||||
System.out.println("== DATA retriveDataFull ? " + gc.user);
|
||||
System.out.println("== DATA retriveDataFull ? " + (gc==null?"null":gc.user));
|
||||
System.out.println("===================================================");
|
||||
DataSmall value = getSmall(id);
|
||||
if (value == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user