@Override
    public User forCreate(final Principal principal, final Credential credential) {
        val user = new User();
        mapUser(user, principal, credential);
        return user;
    }
This is {@link DefaultScimPrincipalAttributeMapper}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-scim-core/src/main/java/org/apereo/cas/scim/v2/provisioning/DefaultScimPrincipalAttributeMapper.java