private ScimUser convertToScimUser ( UaaUser user ) { ScimUser scim = new ScimUser ( user . getId ( ) , user . getUsername ( ) , user . getGivenName ( ) , user . getFamilyName ( ) ) ; scim . addPhoneNumber ( user . getPhoneNumber ( ) ) ; scim . addEmail ( user . getEmail ( ) ) ; scim . setOrigin ( user . getOrigin ( ) ) ; scim . setExternalId ( user . getExternalId ( ) ) ; scim . setVerified ( user . isVerified ( ) ) ; return scim ; }
Convert UaaUser to SCIM data .