code: @GET
      @Path("/needsGroup1Mapping")
      @RolesAllowed("Group1MappedRole")
      public String needsGroup1Mapping(@Context SecurityContext sec) {
          Principal user = sec.getUserPrincipal();
          sec.isUserInRole("group1");
          return user.getName();
      }
docs: This endpoint requires a role that is mapped to the group1 role
  
  @return principal name