}
User user = configurationManager.getUser( address );
if( user != null && user.isPasswordValid( password ) )
{
deliveryService.ipAuthenticated( clientIp );
deliveryService.lockMailbox( address );
write( MESSAGE_LOGIN_SUCCESSFUL );
if( log.isInfoEnabled() ) log.info( "User: " + address.getAddress() + " logged in successfully.");
return user;
}