class KeyCloakUserManager extends BaseKeyCloakManager implements UserManager,
                                                                        ContextualManager {

    @Override
    public User create(User entity) throws SecurityManagementException {
        checkNotNull("entity",
                     entity);
        consumeRealm(realmResource -> {
            final UsersResource usersResource = realmResource.users();
            final UserRepresentation userRepresentation = new UserRepresentation();
            fillUserRepresentationAttributes(entity,
                                             userRepresentation);
            final ClientResponse response = (ClientResponse) usersResource.create(userRepresentation);
            handleResponse(response);
        });
        return entity;
    }

    public  KeyCloakUserManager();

}