Esempio n. 1
0
 @GET
 @Path("/secure/users/{id}")
 @Produces({"application/xml", "application/json"})
 @PreAuthorize(
     "@rangerPreAuthSecurityHandler.isAPIAccessible(\"" + RangerAPIList.SECURE_GET_X_USER + "\")")
 public VXUser secureGetXUser(@PathParam("id") Long id) {
   return xUserMgr.getXUser(id);
 }