|
Hi,
When Session timeout before
logout therefore the user object unbinded from the session object
then saveUser method throw
DataBackendException.
Because the name of User is already changed to
"" and tring to store this anonymous user object.
BaseSecurityService.java
line 350 - 362
/**
* Saves User's data in the permanent storage. The user account is required * to exist in the storage. * * @exception UnknownEntityException if the user's account does not * exist in the database. * @exception DataBackendException if there is a problem accessing the * storage. */ public void saveUser( User user ) throws UnknownEntityException, DataBackendException { + if( user.getUserName() != null && user.getUserName().length() > 0) userManager.store(user); } Thanks
youngho
|
