private void writeProfile ( UserProfile userProfile , Node profileNode ) throws RepositoryException { for ( Entry < String , String > attribute : userProfile . getUserInfoMap ( ) . entrySet ( ) ) { profileNode . setProperty ( ATTRIBUTE_PREFIX + attribute . getKey ( ) , attribute . getValue ( ) ) ; } }
Write profile to storage .