return null;
}
- if ( GUEST_USERNAME.equals( user.getUsername() ) )
+ if ( isReadOnly() && GUEST_USERNAME.equals( user.getUsername() ) )
{
guestUser = user;
return guestUser;
}
if ( user.getUsername().equals( UserManager.GUEST_USERNAME ) )
{
- log.debug( "skip user '{}' creation" );
+ log.warn( "skip user '{}' creation" );
//We don't store guest
return;
}