HTTP Endpoint - get username of authorized user

Hi,

It is possible to get information about authorized user in endpoint level?
I need to get username to load specific graph.

@Path("/sync")
public class Synchronization {
    
    @POST
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Response sync(
        RequestBody body
    ) {
        String username = ?
    }
}

I would be very grateful for your help.