private UserProfile readProfile ( Session session , String userName ) throws Exception { Node profileNode ; try { profileNode = utils . getProfileNode ( session , userName ) ; } catch ( PathNotFoundException e ) { return null ; } return readProfile ( userName , profileNode ) ; }
Reads user profile from storage based on user name .