I have a method cto create an Atom entry:
@POST
@Consumes( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
@Path("category")
public EntryType update(EntryType entity) {
return facade.create(entity);
}
how do I get the logged user inside this method ? (for linking the
entry to the author...)
--
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor