class UserHandler extends BaseHandler implements Lister<User>, Getter<User> {

    @Path("~")
    @GET
    @Produces(MediaType.APPLICATION_JSON)
    public User whoAmI(@Context SecurityContext sec) {
        String username = sec.getUserPrincipal().getName();
        io.fabric8.openshift.api.model.User openShiftUser = this.openShiftService.whoAmI(username);
        Assert.notNull(openShiftUser, "A valid user is required");
        return new User.Builder().username(openShiftUser.getMetadata().getName())
                .fullName(Optional.ofNullable(openShiftUser.getFullName()))
                .name(Optional.ofNullable(openShiftUser.getFullName())).build();
    }

    @Autowired public  UserHandler(DataManager dataMgr, OpenShiftService openShiftService, UserConfigurationProperties properties);

}