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);
     }
   }
 }
Exemplo n.º 2
0
 protected void saveUserProfile(final WebContext context, final UserProfile profile) {
   final ProfileManager manager = new ProfileManager(context);
   if (profile != null) {
     manager.save(true, profile);
   }
 }