protected void saveUserProfile( final C context, final CommonProfile profile, final boolean multiProfile, final boolean renewSession) { final ProfileManager manager = new ProfileManager(context); if (profile != null) { manager.save(true, profile, multiProfile); if (renewSession) { renewSession(context); } } }
protected void saveUserProfile(final WebContext context, final UserProfile profile) { final ProfileManager manager = new ProfileManager(context); if (profile != null) { manager.save(true, profile); } }